summaryrefslogtreecommitdiff
path: root/scripts/rl-system.init
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-20 19:12:25 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-20 19:12:25 -0800
commit8145d65a7b185b78d904d561fdb2420edb01369d (patch)
tree425e21e8caeab17aa0df5cbdd9b9d1d2a6f91331 /scripts/rl-system.init
parent9d6702bf32bd7ca2a82c78b5f76802c6ca619d6f (diff)
downloadvyatta-cfg-quagga-8145d65a7b185b78d904d561fdb2420edb01369d.tar.gz
vyatta-cfg-quagga-8145d65a7b185b78d904d561fdb2420edb01369d.zip
Set IPV6 parameters in rl-system.init
The problem is that IPV6 module is not loaded when sysctl's are interpreted during boot, and we want to allow marking IPV6 disabled.
Diffstat (limited to 'scripts/rl-system.init')
-rwxr-xr-xscripts/rl-system.init5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index d37e651c..09d4509e 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -143,6 +143,9 @@ set_ipv6_params ()
return
fi
+ # Enable forwarding
+ echo 1 >/proc/sys/net/ipv6/conf/all/forwarding
+
# These values all should be disabled
for p in accept_source_route accept_redirects address_flush
do
@@ -168,7 +171,7 @@ pam_reset () {
then pam-auth-update --remove radius
fi
}
-
+
start () {
udev_rescan
create_ssh_host_keys || \