From a7c2c68b3e09d5ebaacd5c45925ab6f5e25c5257 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Wed, 12 Dec 2018 18:37:13 +0100 Subject: [PATCH] fixed bootstrap recovered detection --- home.admin/_bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/_bootstrap.sh b/home.admin/_bootstrap.sh index 5db0f5c..a65e036 100644 --- a/home.admin/_bootstrap.sh +++ b/home.admin/_bootstrap.sh @@ -272,7 +272,7 @@ fi ################################ recoveredInfoExists=$(ls /home/admin/raspiblitz.recover.info | grep -c '.info') -if [ ${configExists} -eq 1 ]; then +if [ ${recoveredInfoExists} -eq 1 ]; then sed -i "s/^state=.*/state=recovered/g" ${infoFile} sed -i "s/^message=.*/message='login to finish'/g" ${infoFile} exit 0