From 75674b871d3d0c4f852ff60b45b9bebab98d5db5 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Tue, 27 Nov 2018 05:54:46 +0100 Subject: [PATCH] update raspi info path --- home.admin/00mainMenu.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home.admin/00mainMenu.sh b/home.admin/00mainMenu.sh index bdbe184c..96147a9a 100755 --- a/home.admin/00mainMenu.sh +++ b/home.admin/00mainMenu.sh @@ -1,7 +1,8 @@ #!/bin/bash # check data from _bootstrap.sh that was running on device setup -bootstrapInfoExists=$(ls /home/admin/raspiblitz.info | grep -c '.info') +infoFile='/home/admin/raspiblitz.info' +bootstrapInfoExists=$(ls $infoFile | grep -c '.info') if [ ${bootstrapInfoExists} -eq 1 ]; then # load the data from the info file