summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-17 09:21:22 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-17 10:00:25 +0100
commitb74daed7c3d2e302426fd5c6ace7e299d4278ca0 (patch)
treef7e7e0d1b3206ece6fa15af2bd3d075c076cf134 /scripts
parent0dccb303c09069ab3997a508f18d1e94f9332f90 (diff)
downloadvyatta-cfg-system-b74daed7c3d2e302426fd5c6ace7e299d4278ca0.tar.gz
vyatta-cfg-system-b74daed7c3d2e302426fd5c6ace7e299d4278ca0.zip
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.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rl-system.init14
1 files changed, 0 insertions, 14 deletions
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"