Skip to content
Snippets Groups Projects
Commit 2c85fcb5 authored by FFS-Roland's avatar FFS-Roland
Browse files

make IPv6-Check independent of IPv6-Prefix

parent d20266b4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment