netifd: suppress fw3 warnings in dhcp script
authorSteven Barth <cyrus@openwrt.org>
Wed, 30 Jul 2014 13:17:56 +0000 (13:17 +0000)
committerSteven Barth <cyrus@openwrt.org>
Wed, 30 Jul 2014 13:17:56 +0000 (13:17 +0000)
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 41892

package/network/config/netifd/files/lib/netifd/dhcp.script

index db3fc011a1ebd66d5d2e4e29b38148b08d88297f..593fb93e1ddfa3589b241e5cd3c2739f291fc007 100755 (executable)
@@ -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