From a1602b29a23db5cd54c6812fc1e90cb2b0defb66 Mon Sep 17 00:00:00 2001 From: itojun Date: Sun, 18 Feb 2001 15:41:59 +0000 Subject: need to set sysctl BEFORE starting rtadvd. --- net/6to4/files/6to4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/6to4') diff --git a/net/6to4/files/6to4 b/net/6to4/files/6to4 index f25c67cdc53..4b7c94694da 100755 --- a/net/6to4/files/6to4 +++ b/net/6to4/files/6to4 @@ -126,8 +126,8 @@ if ($ARGV[0] eq "rtadvd-start" or $ARGV[0] eq "start-rtadvd" ) { if ( -f "/var/run/rtadvd.pid" ) { print "rtadvd already running!\n"; } else { - run("rtadvd $in_if"); run("sysctl -w net.inet6.ip6.forwarding=1"); run("sysctl -w net.inet6.ip6.accept_rtadv=0"); + run("rtadvd $in_if"); } } -- cgit v1.2.3