Force enabling ipv6 forwarding (#3959)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 28 Sep 2008 15:48:31 +0000 (15:48 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 28 Sep 2008 15:48:31 +0000 (15:48 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12764 3c298f89-4303-0410-b956-a3cf2f4a3e73

ipv6/radvd/files/radvd.init

index ff867bf..65a3f8d 100644 (file)
@@ -371,9 +371,7 @@ start() {
 
        [ -z "$RADVD_CONFIG_FILE" ] && return 1
 
-       if grep '^net.ipv6.conf.all.forwarding=1$' /etc/sysctl.conf > /dev/null 2> /dev/null; then
-               sysctl -w net.ipv6.conf.all.forwarding=1 > /dev/null 2> /dev/null
-       fi
+       sysctl -w net.ipv6.conf.all.forwarding=1 > /dev/null 2> /dev/null
 
        radvd -C "$RADVD_CONFIG_FILE" -m stderr_syslog -p /var/run/radvd.pid
 }