fixup! fixup! make respondd mesh-prtocol agnostic

This commit is contained in:
Christof Schulze 2016-11-29 19:54:22 +01:00
parent 898551035d
commit 1c7f01be4a
2 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@
. /lib/functions/service.sh . /lib/functions/service.sh
case "$ACTION" in case "$ACTION" in
ifdown) ;;
ifup) ifup)
/etc/init.d/gluon-respondd restart_if_running & /etc/init.d/gluon-respondd restart_if_running &
;; ;;

View File

@ -13,7 +13,7 @@ LOCK=/var/run/gluon-respondd.lock
do_start() { do_start() {
DEVS="" DEVS=""
for dev in $( ubus call network.interface dump | jsonfilter -e "@.interface[@.proto='gluon_mesh' && @.up=true].device") br-wan br-client for dev in $( ubus call network.interface dump | jsonfilter -e "@.interface[@.proto='gluon_mesh' && @.up=true].device") br-client
do do
DEVS="$DEVS -i $dev" DEVS="$DEVS -i $dev"
done done