Automated Change by GitHub Action

This commit is contained in:
okunze 2024-06-28 21:04:37 +00:00 committed by github-actions[bot]
parent 2f7eed56f2
commit 7ff78230e2

View File

@ -39,6 +39,8 @@ ARGONDOWNLOADSERVER=https://download.argon40.com
INSTALLATIONFOLDER=/etc/argon
FLAGFILEV1=$INSTALLATIONFOLDER/flag_v1
versioninfoscript=$INSTALLATIONFOLDER/argon-versioninfo.sh
uninstallscript=$INSTALLATIONFOLDER/argon-uninstall.sh
@ -148,6 +150,7 @@ argon_check_pkg() {
fi
}
CHECKDEVICE="one" # Hardcoded for argonone
# Check if has RTC
# Todo for multiple OS
@ -311,7 +314,12 @@ sudo chmod 755 $versioninfoscript
sudo wget $ARGONDOWNLOADSERVER/scripts/argonsysinfo.py -O $INSTALLATIONFOLDER/argonsysinfo.py --quiet
sudo wget $ARGONDOWNLOADSERVER/scripts/argonregister.py -O $INSTALLATIONFOLDER/argonregister.py --quiet
if [ -f "$FLAGFILEV1" ]
then
sudo wget $ARGONDOWNLOADSERVER/scripts/argonregister-v1.py -O $INSTALLATIONFOLDER/argonregister.py --quiet
else
sudo wget $ARGONDOWNLOADSERVER/scripts/argonregister.py -O $INSTALLATIONFOLDER/argonregister.py --quiet
fi
sudo wget "$ARGONDOWNLOADSERVER/scripts/argonpowerbutton-${CHECKGPIOMODE}.py" -O $INSTALLATIONFOLDER/argonpowerbutton.py --quiet