mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-12 21:59:19 +02:00
comparison typo and script flow fix (#1599)
Co-authored-by: Patrick Scheich
This commit is contained in:
parent
f87bc3db8d
commit
ef4fde450f
@ -107,11 +107,11 @@ do
|
||||
|
||||
# execute only after setup when config exists
|
||||
if [ ${configExists} -eq 1 ]; then
|
||||
|
||||
publicIPChanged=$(/home/admin/config.scripts/internet.sh update-publicip | grep -c 'ip_changed=1')
|
||||
|
||||
fi
|
||||
|
||||
# check if changed
|
||||
elif [ ${publicIPChanged} -get 0 ]; then
|
||||
if [ ${publicIPChanged} -gt 0 ]; then
|
||||
|
||||
# refresh data
|
||||
source /mnt/hdd/raspiblitz.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user