Commit 2c85fcb5 authored by FFS-Roland's avatar FFS-Roland

make IPv6-Check independent of IPv6-Prefix

parent d20266b4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment