From 0659977e70fca3e2079c34f4ee66061e799b279a Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 28 Sep 2008 15:48:31 +0000 Subject: [PATCH] Force enabling ipv6 forwarding (#3959) SVN-Revision: 12764 --- ipv6/radvd/files/radvd.init | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ipv6/radvd/files/radvd.init b/ipv6/radvd/files/radvd.init index ff867bf2b..65a3f8d4f 100644 --- a/ipv6/radvd/files/radvd.init +++ b/ipv6/radvd/files/radvd.init @@ -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 } -- 2.30.2