whitespace and errormessages
This commit is contained in:
parent
114620aa0c
commit
b450226f80
@ -7,10 +7,10 @@ ifname_to_dev () {
|
||||
}
|
||||
|
||||
case "$ACTION" in
|
||||
ifup)
|
||||
ifup)
|
||||
DEVICE="$(ifname_to_dev "$INTERFACE")"
|
||||
|
||||
[ "$DEVICE" != "$(cat /lib/gluon/respondd/client.dev 2>/dev/null)" ] ||
|
||||
[ "$DEVICE" != "$(cat /lib/gluon/respondd/client.dev 2>/dev/null)" ] ||
|
||||
/etc/init.d/gluon-respondd restart_if_running &
|
||||
;;
|
||||
esac
|
||||
|
@ -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") $(cat /lib/gluon/respondd/client.dev)
|
||||
for dev in $( ubus call network.interface dump | jsonfilter -e "@.interface[@.proto='gluon_mesh' && @.up=true].device") $(cat /lib/gluon/respondd/client.dev 2>/dev/null)
|
||||
do
|
||||
DEVS="$DEVS -i $dev"
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user