fixed file name

This commit is contained in:
2023-10-18 12:04:45 -05:00
parent 5f46619834
commit 7fb016f424

View File

@@ -7,7 +7,7 @@ if [ "$EUID" -ne 0 ]
fi
# check if installed already
isInFile=$(cat /opt/cronicle/conf/conf.json | grep -c "192.168.1.44")
isInFile=$(cat /opt/cronicle/conf/config.json | grep -c "192.168.1.44")
if [ $isInFile -eq 0 ]
then
sudo apt-get update