diff --git a/ffs-watchdog/files/usr/sbin/ffs-watchdog b/ffs-watchdog/files/usr/sbin/ffs-watchdog index 4e8ed7b0d1bfd045b8227379d8043b26a7ef7376..6a676578a0146da5761d83ae384fd0423c3a37bb 100755 --- a/ffs-watchdog/files/usr/sbin/ffs-watchdog +++ b/ffs-watchdog/files/usr/sbin/ffs-watchdog @@ -11,7 +11,7 @@ if [ "$(uci get gluon-setup-mode.@setup_mode[0].enabled)" = "0" ] && [ "$(netstat -nt | grep -c ':22')" = "0" ]; then if [ -n "$(batctl gwl | grep '=>')" ] && - [ -n "$(ifconfig br-client | grep 'fd21:b4dc:4b')" ]; then + [ $(ifconfig br-client | grep -c "inet6 addr:") -gt 2 ]; then echo 0 >$FFS logger -t $ME "node is online" else