mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-19 02:22:24 +01:00
fix infoLCD
This commit is contained in:
@@ -52,17 +52,15 @@ while :
|
|||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## get basic info from SD
|
# get config info if already available
|
||||||
bootstrapInfoExists=$(ls ${infoFile} 2>/dev/null | grep -c '.info')
|
|
||||||
if [ ${bootstrapInfoExists} -eq 1 ]; then
|
|
||||||
source ${infoFile}
|
|
||||||
fi
|
|
||||||
|
|
||||||
# get final config if already avaulable
|
|
||||||
configExists=$(ls ${configFile} 2>/dev/null | grep -c '.conf')
|
configExists=$(ls ${configFile} 2>/dev/null | grep -c '.conf')
|
||||||
if [ ${configExists} -eq 1 ]; then
|
if [ ${configExists} -eq 1 ]; then
|
||||||
source ${configFile}
|
source ${configFile}
|
||||||
setupStep=100
|
fi
|
||||||
|
|
||||||
|
# if setup not marked as done (=100) load boostrap info file
|
||||||
|
if [ "${setupStep}" != "100" ]; then
|
||||||
|
source ${infoFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if no information available from files - set default
|
# if no information available from files - set default
|
||||||
|
|||||||
Reference in New Issue
Block a user