summaryrefslogtreecommitdiff
path: root/net/6to4
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2001-02-18 15:41:59 +0000
committeritojun <itojun@pkgsrc.org>2001-02-18 15:41:59 +0000
commita1602b29a23db5cd54c6812fc1e90cb2b0defb66 (patch)
tree4f6d27b2742f1d543c0bab54f337787d3e00f4e7 /net/6to4
parent1b4f0cfac6d87504a3e317bb3c959f9e890e380b (diff)
downloadpkgsrc-a1602b29a23db5cd54c6812fc1e90cb2b0defb66.tar.gz
need to set sysctl BEFORE starting rtadvd.
Diffstat (limited to 'net/6to4')
-rwxr-xr-xnet/6to4/files/6to42
1 files changed, 1 insertions, 1 deletions
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");
}
}