|
@ -27,6 +27,13 @@ fi |
|
|
# load old or init raspiblitz config |
|
|
# load old or init raspiblitz config |
|
|
source ${configFile} |
|
|
source ${configFile} |
|
|
|
|
|
|
|
|
|
|
|
# check if config files contains basic: version |
|
|
|
|
|
if [ ${#raspiBlitzVersion} -eq 0 ]; then |
|
|
|
|
|
echo "FAIL see ${logFile}" |
|
|
|
|
|
echo "FAIL: missing raspiBlitzVersion in (${configFile})!" >> ${logFile} |
|
|
|
|
|
exit 1 |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
# check if config files contains basic: network |
|
|
# check if config files contains basic: network |
|
|
if [ ${#network} -eq 0 ]; then |
|
|
if [ ${#network} -eq 0 ]; then |
|
|
echo "FAIL see ${logFile}" |
|
|
echo "FAIL see ${logFile}" |
|
|