pass '-q' switch to uci to prevent spurious output
Signed-off-by: Paul Donald <newtwen@gmail.com>
IFACES=""
load_ifaces() {
- local network="$(uci get umdns.@umdns[-1].network)"
+ local network="$(uci -q get umdns.@umdns[-1].network)"
for n in $network; do
local device
json_load "$(ifstatus $n)"
}
start_service() {
- local network="$(uci get umdns.@umdns[-1].network)"
+ local network="$(uci -q get umdns.@umdns[-1].network)"
procd_open_instance
procd_set_param command "$PROG"
done
procd_add_raw_trigger "instance.update" 5000 "/bin/ubus" "call" "umdns" "reload"
procd_close_trigger
- [ "$(uci get umdns.@umdns[-1].jail)" = 1 ] && procd_add_jail umdns ubus log
+ [ "$(uci -q get umdns.@umdns[-1].jail)" = 1 ] && procd_add_jail umdns ubus log
procd_close_instance
}