From 1c7f01be4a1dcb6bdbe3e88ff3fbd3b10447f428 Mon Sep 17 00:00:00 2001 From: Christof Schulze Date: Tue, 29 Nov 2016 19:54:22 +0100 Subject: [PATCH] fixup! fixup! make respondd mesh-prtocol agnostic --- .../gluon-respondd/files/etc/hotplug.d/iface/10-gluon-respondd | 1 - package/gluon-respondd/files/etc/init.d/gluon-respondd | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package/gluon-respondd/files/etc/hotplug.d/iface/10-gluon-respondd b/package/gluon-respondd/files/etc/hotplug.d/iface/10-gluon-respondd index 7fb5c7ba..85a2a10f 100644 --- a/package/gluon-respondd/files/etc/hotplug.d/iface/10-gluon-respondd +++ b/package/gluon-respondd/files/etc/hotplug.d/iface/10-gluon-respondd @@ -3,7 +3,6 @@ . /lib/functions/service.sh case "$ACTION" in - ifdown) ;; ifup) /etc/init.d/gluon-respondd restart_if_running & ;; diff --git a/package/gluon-respondd/files/etc/init.d/gluon-respondd b/package/gluon-respondd/files/etc/init.d/gluon-respondd index 542348d8..343770cc 100755 --- a/package/gluon-respondd/files/etc/init.d/gluon-respondd +++ b/package/gluon-respondd/files/etc/init.d/gluon-respondd @@ -13,7 +13,7 @@ LOCK=/var/run/gluon-respondd.lock do_start() { 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 DEVS="$DEVS -i $dev" done