unique boostrap test

This commit is contained in:
rootzoll 2018-12-08 22:19:46 +01:00
parent 526736ac23
commit d06d6ff9ef
2 changed files with 5 additions and 2 deletions

View File

@ -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}

View File

@ -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