Browse Source

unique boostrap test

dev
rootzoll 6 years ago
parent
commit
d06d6ff9ef
  1. 3
      home.admin/_bootstrap.presync.sh
  2. 4
      home.admin/_bootstrap.sh

3
home.admin/_bootstrap.presync.sh

@ -28,5 +28,4 @@ echo "presync: started" >> $logFile
# update info file
echo "state=presync" > $infoFile
echo "message='started pre-sync'" >> $infoFile
echo "device=${hddDeviceName}" >> $infoFile
sudo sed -i "s/^message=.*/message='running pre-sync'/g" ${infoFile}

4
home.admin/_bootstrap.sh

@ -5,6 +5,10 @@
# default values or as in the config.
# For more details see background_raspiblitzSettings.md
# unique id
uid=$(date +%s)
echo "started" > /home/admin/${uid}.boot
# load codeVersion
source /home/admin/_version.info

Loading…
Cancel
Save