Automated Change by GitHub Action

This commit is contained in:
okunze 2023-12-29 21:02:42 +00:00 committed by github-actions[bot]
parent ea3bfb6c4d
commit 6979175767

View File

@ -225,6 +225,8 @@ basename="argonone"
daemonname=$basename"d" daemonname=$basename"d"
irconfigscript=$INSTALLATIONFOLDER/${basename}-ir irconfigscript=$INSTALLATIONFOLDER/${basename}-ir
fanconfigscript=$INSTALLATIONFOLDER/${basename}-fanconfig.sh fanconfigscript=$INSTALLATIONFOLDER/${basename}-fanconfig.sh
eepromrpiscript="/usr/bin/rpi-eeprom-config"
eepromconfigscript=$INSTALLATIONFOLDER/${basename}-eepromconfig.py
powerbuttonscript=$INSTALLATIONFOLDER/$daemonname.py powerbuttonscript=$INSTALLATIONFOLDER/$daemonname.py
unitconfigfile=/etc/argonunits.conf unitconfigfile=/etc/argonunits.conf
daemonconfigfile=/etc/$daemonname.conf daemonconfigfile=/etc/$daemonname.conf
@ -232,6 +234,14 @@ daemonfanservice=/lib/systemd/system/$daemonname.service
daemonhddconfigfile=/etc/${daemonname}-hdd.conf daemonhddconfigfile=/etc/${daemonname}-hdd.conf
if [ -f "$eepromrpiscript" ]
then
# EEPROM Config Script
sudo wget $ARGONDOWNLOADSERVER/scripts/argon-rpi-eeprom-config.py -O $eepromconfigscript --quiet
sudo chmod 755 $eepromconfigscript
fi
# Fan Config Script # Fan Config Script
sudo wget $ARGONDOWNLOADSERVER/scripts/argonone-fanconfig.sh -O $fanconfigscript --quiet sudo wget $ARGONDOWNLOADSERVER/scripts/argonone-fanconfig.sh -O $fanconfigscript --quiet
sudo chmod 755 $fanconfigscript sudo chmod 755 $fanconfigscript
@ -572,6 +582,14 @@ else
fi fi
fi fi
if [ -f "$eepromrpiscript" ]
then
# EEPROM Config Script
sudo $eepromconfigscript
fi
echo "*********************" echo "*********************"
echo " $setupmode Completed " echo " $setupmode Completed "
echo "*********************" echo "*********************"