diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-20 19:12:25 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-01-20 19:12:25 -0800 |
commit | 8145d65a7b185b78d904d561fdb2420edb01369d (patch) | |
tree | 425e21e8caeab17aa0df5cbdd9b9d1d2a6f91331 | |
parent | 9d6702bf32bd7ca2a82c78b5f76802c6ca619d6f (diff) | |
download | vyatta-cfg-system-8145d65a7b185b78d904d561fdb2420edb01369d.tar.gz vyatta-cfg-system-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.
-rwxr-xr-x | scripts/rl-system.init | 5 | ||||
-rw-r--r-- | sysconf/vyatta-sysctl.conf | 4 |
2 files changed, 4 insertions, 5 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 || \ diff --git a/sysconf/vyatta-sysctl.conf b/sysconf/vyatta-sysctl.conf index 928cd6fb..f10f4541 100644 --- a/sysconf/vyatta-sysctl.conf +++ b/sysconf/vyatta-sysctl.conf @@ -60,7 +60,3 @@ net.ipv4.conf.default.accept_source_route=0 # Enable send_redirects by default net.ipv4.conf.all.send_redirects=1 -# IPv6 parameters: - -# Enable packet forwarding for IPv6 -net.ipv6.conf.all.forwarding=1 |