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

Modification for use with LEDE: marker on batctl for current gateway is * instead of =>

parent 5d75bf82
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ if [ "$(uci get gluon-setup-mode.@setup_mode[0].enabled)" = "0" ] &&
[ "$(uci get system.@system[0].enable_watchdog)" != "0" ] &&
[ "$(netstat -nt | grep -c ':22')" = "0" ]; then
if [ -n "$(batctl gwl | grep '=>')" ] &&
if [ -n "$(batctl gwl | grep '* ')" ] &&
[ $(ifconfig br-client | grep -c "inet6 addr:") -gt 2 ]; then
echo 0 >$FFS
logger -t $ME "node is online"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment