Skip to content

Commit

Permalink
Automated Change by GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
okunze authored and github-actions[bot] committed Jun 28, 2024
1 parent 2f7eed5 commit 7ff7823
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion source/argon1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -148,6 +150,7 @@ argon_check_pkg() {
fi
}


CHECKDEVICE="one" # Hardcoded for argonone
# Check if has RTC
# Todo for multiple OS
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 7ff7823

Please sign in to comment.