From 09ad0ae4bd0b4a83c5a0c55fdb252f7cc2719bdf Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Mon, 1 Jun 2015 08:31:13 +0000 Subject: [PATCH] odhcp6c: silence fw3 warnings Signed-off-by: Steven Barth SVN-Revision: 45867 --- package/network/ipv6/odhcp6c/files/dhcpv6.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.script b/package/network/ipv6/odhcp6c/files/dhcpv6.script index a2adf39ad1..650c9b2e8f 100755 --- a/package/network/ipv6/odhcp6c/files/dhcpv6.script +++ b/package/network/ipv6/odhcp6c/files/dhcpv6.script @@ -118,7 +118,7 @@ setup_interface () { MAPRULE="$LW4O6" fi - [ -n "$ZONE" ] || ZONE=$(fw3 -q network $INTERFACE) + [ -n "$ZONE" ] || ZONE=$(fw3 -q network $INTERFACE 2>/dev/null) if [ "$IFACE_MAP" != 0 -a -n "$MAPTYPE" -a -n "$MAPRULE" ]; then [ -z "$IFACE_MAP" -o "$IFACE_MAP" = 1 ] && IFACE_MAP=${INTERFACE}_4 -- 2.25.1