Automated Change by GitHub Action

This commit is contained in:
okunze
2025-06-11 12:21:48 +00:00
committed by github-actions[bot]
parent 1a7ab2e005
commit 755a2ca262
46 changed files with 6182 additions and 9 deletions

View File

@ -0,0 +1,22 @@
#!/bin/bash
pythonbin=/usr/bin/python3
argononefanscript=/etc/argon/argononed.py
argoneonrtcscript=/etc/argon/argoneond.py
argonirconfigscript=/etc/argon/argonone-ir
if [ ! -z "$1" ]
then
$pythonbin $argononefanscript FANOFF
if [ "$1" = "poweroff" ] || [ "$1" = "halt" ]
then
if [ -f $argonirconfigscript ]
then
if [ -f $argoneonrtcscript ]
then
$pythonbin $argoneonrtcscript SHUTDOWN
fi
$pythonbin $argononefanscript SHUTDOWN
fi
fi
fi