Browse Source

update raspi info file

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

4
home.admin/00mainMenu.sh

@ -6,7 +6,7 @@ bootstrapInfoExists=$(ls $infoFile | grep -c '.info')
if [ ${bootstrapInfoExists} -eq 1 ]; then
# load the data from the info file
source /home/admin/raspiblitz.info
source ${infoFile}
echo "Found raspiblitz.info from bootstrap - processing ..."
sleep 2
@ -34,7 +34,7 @@ if [ ${bootstrapInfoExists} -eq 1 ]; then
# 2) when bootstrap on a fresh sd card
elif [ "${state}" = "waitsetup" ]; then
echo "detected bootstrap waitinmg for setup"
# unmount the temporary mount
sudo umount -l /mnt/hdd

2
home.admin/_bootstrap.sh

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

Loading…
Cancel
Save