This commit is contained in:
rootzoll 2018-10-15 22:59:58 +02:00
parent 9e0bd86510
commit afbf81f2b8

View File

@ -59,7 +59,7 @@ fi
# check if there is a config file # check if there is a config file
configFile="/mnt/hdd/raspiblitz.conf" configFile="/mnt/hdd/raspiblitz.conf"
configExists=$(ls ${configFile} >/dev/null | grep -c '.conf') configExists=$(ls ${configFile} 2>/dev/null | grep -c '.conf')
if [ ${configExists} -eq 0 ]; then if [ ${configExists} -eq 0 ]; then
# create new config # create new config