fiex value raspi conf

This commit is contained in:
rootzoll 2018-12-20 23:59:18 +01:00
parent ed729beb38
commit eecdf3ca15

View file

@ -63,10 +63,10 @@ if [ ${entryExists} -eq 0 ]; then
echo "dynDomain=" >> ${configFile}
fi
# make sure entry line for 'dynDomain' exists
entryExists=$(cat ${configFile} | grep -c 'updateDynDomain')
# make sure entry line for 'dynUpdateUrl' exists
entryExists=$(cat ${configFile} | grep -c 'dynUpdateUrl')
if [ ${entryExists} -eq 0 ]; then
echo "updateDynDomain=" >> ${configFile}
echo "dynUpdateUrl=" >> ${configFile}
fi
# stop services