diff --git a/home.admin/_bootstrap.presync.sh b/home.admin/_bootstrap.presync.sh index fdba35d9..7f16bcfd 100644 --- a/home.admin/_bootstrap.presync.sh +++ b/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} diff --git a/home.admin/_bootstrap.sh b/home.admin/_bootstrap.sh index 48eb1049..5c15e687 100644 --- a/home.admin/_bootstrap.sh +++ b/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