From 4e34c17570467348d18e30f72795ca2c312e542f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 17 Jan 2021 09:21:22 +0100 Subject: T671: cleanup rl-system and move components to better suited locations - CHanging sysctl values should be done by out generic file /etc/sysctl.d/30-vyatta-router.conf - NTP config must not be restored from from /opt as it is entirely rendered from scratch. (cherry picked from commit b74daed7c3d2e302426fd5c6ace7e299d4278ca0) --- scripts/rl-system.init | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'scripts') diff --git a/scripts/rl-system.init b/scripts/rl-system.init index a481e63b..a42f115b 100755 --- a/scripts/rl-system.init +++ b/scripts/rl-system.init @@ -128,9 +128,6 @@ set_ipv6_params () return fi - # Enable forwarding - echo 1 >/proc/sys/net/ipv6/conf/all/forwarding - # Increase route table limit echo 262144 >/proc/sys/net/ipv6/route/max_size @@ -144,16 +141,6 @@ set_ipv6_params () done } -setup_ntp_config_file () { - template_ntp_conf=/opt/vyatta/etc/ntp.conf - if [ -e $template_ntp_conf ]; then - cp -f $template_ntp_conf /etc/ntp.conf - else - log_failure_msg "NTP template config file doesn\'t exist" - fi -} - - # These are all the default security setting which are later # overridden when configuration is read. These are the values the # system defaults. @@ -186,7 +173,6 @@ start () { log_failure_msg "can't initialize ssh host keys" clear_or_override_config_files || \ log_failure_msg "can\'t reset config files" - setup_ntp_config_file add_new_serial_if || \ log_failure_msg "can\'t add serial interfaces" -- cgit v1.2.3