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