From 8145d65a7b185b78d904d561fdb2420edb01369d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 20 Jan 2010 19:12:25 -0800 Subject: 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. --- scripts/rl-system.init | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts') 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 || \ -- cgit v1.2.3