summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-17 13:04:09 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-17 13:04:09 +0100
commit0b6e83370bce3dd3e675e8570a2281497481c218 (patch)
treefccb13e1be4395eeda6c43c2880ba468e7271408 /scripts
parentb74daed7c3d2e302426fd5c6ace7e299d4278ca0 (diff)
downloadvyatta-cfg-system-0b6e83370bce3dd3e675e8570a2281497481c218.tar.gz
vyatta-cfg-system-0b6e83370bce3dd3e675e8570a2281497481c218.zip
T671: move IPv6 setup from rl-system to sysctl
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rl-system.init24
1 files changed, 0 insertions, 24 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index a42f115b..043b1ede 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -118,29 +118,6 @@ create_ssh_host_keys () {
fi;
}
-set_ipv6_params ()
-{
- rm -f /var/run/vyatta/ipv6_no_fwd.*
-
- # difficult to set new default values for IPV6 earlier
- if [ ! -d /proc/sys/net/ipv6 ]; then
- # Skip it if IPv6 is not loaded
- return
- fi
-
- # Increase route table limit
- echo 262144 >/proc/sys/net/ipv6/route/max_size
-
- # These values all should be disabled
- for p in accept_source_route accept_redirects
- do
- for d in /proc/sys/net/ipv6/conf/*
- do
- echo 0 > $d/$p
- done
- done
-}
-
# These are all the default security setting which are later
# overridden when configuration is read. These are the values the
# system defaults.
@@ -177,7 +154,6 @@ start () {
add_new_serial_if || \
log_failure_msg "can\'t add serial interfaces"
- set_ipv6_params
security_reset
update_version_info