aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2014-07-30 13:17:56 +0000
committerSteven Barth <cyrus@openwrt.org>2014-07-30 13:17:56 +0000
commit86671615deb8afb3f7dcf706937d23922b14ff49 (patch)
tree868eab52329308b747b52db7948850851f654cdc
parent5743a89fb5b5723806852e206403a1c0c5160ecc (diff)
downloadupstream-86671615deb8afb3f7dcf706937d23922b14ff49.tar.gz
upstream-86671615deb8afb3f7dcf706937d23922b14ff49.tar.bz2
upstream-86671615deb8afb3f7dcf706937d23922b14ff49.zip
netifd: suppress fw3 warnings in dhcp script
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 41892
-rwxr-xr-xpackage/network/config/netifd/files/lib/netifd/dhcp.script2
1 files changed, 1 insertions, 1 deletions
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