Force enabling ipv6 forwarding (#3959)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@12764 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2008-09-28 15:48:31 +00:00
parent 2ed28b727f
commit 480523bb3c

View 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
}