summaryrefslogtreecommitdiff
path: root/scripts/rl-system.init
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-12-02 11:19:28 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-12-02 11:19:28 -0800
commit690f0b2e864a2a2cb404be0d01b0ff65b0c6d4ed (patch)
tree3a25287544eef4e762dfe0815ce43bc15f5a43b5 /scripts/rl-system.init
parent25f7535f4e48e9e311224d0a40a65149c67d5447 (diff)
downloadvyatta-cfg-system-690f0b2e864a2a2cb404be0d01b0ff65b0c6d4ed.tar.gz
vyatta-cfg-system-690f0b2e864a2a2cb404be0d01b0ff65b0c6d4ed.zip
Cleanup leftover ipv6_no_fwd files
Need to cleanup breadcrumb files on boot. Fix spellin errors
Diffstat (limited to 'scripts/rl-system.init')
-rwxr-xr-xscripts/rl-system.init8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index b73befba..19c9a540 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -15,7 +15,7 @@
#
# Author: Tom Grennan <tgrennan@vyatta.com>
# Description: Vyatta Router system setup
-# this is an indirect init sub-script executed by ofr.init
+# Indirect init sub-script of vyatta-router.init
#
# **** End License ****
@@ -135,7 +135,9 @@ create_ssh_host_keys () {
set_ipv6_params ()
{
- # diffcult to set new default values for IPV6 earlier
+ 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
@@ -222,7 +224,7 @@ start () {
# Remove serial console settings
# sed -i -e '/^T/d' /etc/inittab
- ## Clear out apt config file--it will be filled in by rtrmgr
+ ## Clear out apt config file--it will be filled in by config load
empty /etc/apt/sources.list
}