gluon-mesh-batman-adv: implement neighbour and default_gw4 check

This commit is contained in:
aiyion.prime 2021-08-04 14:48:09 +02:00
parent df06b05b2a
commit b2f9c1f371
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
out=$(batctl gwl -H 2>/dev/null) && [ -n "$out" ]

View File

@ -0,0 +1,2 @@
#!/bin/sh
out=$(batctl n -H 2>/dev/null) && [ -n "$out" ]