From: Steven Barth Date: Wed, 30 Jul 2014 13:17:56 +0000 (+0000) Subject: netifd: suppress fw3 warnings in dhcp script X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=86671615deb8afb3f7dcf706937d23922b14ff49;p=openwrt%2Fstaging%2Fstintel.git netifd: suppress fw3 warnings in dhcp script Signed-off-by: Hans Dedecker SVN-Revision: 41892 --- diff --git a/package/network/config/netifd/files/lib/netifd/dhcp.script b/package/network/config/netifd/files/lib/netifd/dhcp.script index db3fc011a1..593fb93e1d 100755 --- a/package/network/config/netifd/files/lib/netifd/dhcp.script +++ b/package/network/config/netifd/files/lib/netifd/dhcp.script @@ -50,7 +50,7 @@ setup_interface () { ip6rd="${ip6rd#* }" local ip6rdbr="${ip6rd%% *}" - [ -n "$ZONE" ] || ZONE=$(fw3 network $INTERFACE) + [ -n "$ZONE" ] || ZONE=$(fw3 -q network $INTERFACE) [ -z "$IFACE6RD" -o "$IFACE6RD" = 1 ] && IFACE6RD=${INTERFACE}_6rd json_init