Browse Source

update raspi info file

#146
rootzoll 6 years ago
parent
commit
ca764f66b0
  1. 2
      home.admin/00mainMenu.sh
  2. 2
      home.admin/_bootstrap.sh

2
home.admin/00mainMenu.sh

@ -6,7 +6,7 @@ bootstrapInfoExists=$(ls $infoFile | grep -c '.info')
if [ ${bootstrapInfoExists} -eq 1 ]; then if [ ${bootstrapInfoExists} -eq 1 ]; then
# load the data from the info file # load the data from the info file
source /home/admin/raspiblitz.info source ${infoFile}
echo "Found raspiblitz.info from bootstrap - processing ..." echo "Found raspiblitz.info from bootstrap - processing ..."
sleep 2 sleep 2

2
home.admin/_bootstrap.sh

@ -34,7 +34,7 @@ echo "***********************************************" >> $logFile
echo "Resetting the InfoFile: ${infoFile}" echo "Resetting the InfoFile: ${infoFile}"
echo "state=starting" > $infoFile echo "state=starting" > $infoFile
sudo chmod 745 ${infoFile} sudo chmod 777 ${infoFile}
################################ ################################
# AFTER BOOT SCRIPT # AFTER BOOT SCRIPT

Loading…
Cancel
Save