Force enabling ipv6 forwarding (#3959)
authorFlorian Fainelli <florian@openwrt.org>
Sun, 28 Sep 2008 15:48:31 +0000 (15:48 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 28 Sep 2008 15:48:31 +0000 (15:48 +0000)
SVN-Revision: 12764

ipv6/radvd/files/radvd.init

index ff867bf2b2c458997c73716753cf8fe81187d8ef..65a3f8d4ffdb4c3e57da6f466490c226fa5aeb62 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
 }