mirror of
https://github.com/okunze/Argon40-ArgonOne-Script.git
synced 2024-11-17 19:08:57 +01:00
Automated Change by GitHub Action
This commit is contained in:
parent
2f7eed56f2
commit
7ff78230e2
@ -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
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user