From 690f0b2e864a2a2cb404be0d01b0ff65b0c6d4ed Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 2 Dec 2010 11:19:28 -0800 Subject: Cleanup leftover ipv6_no_fwd files Need to cleanup breadcrumb files on boot. Fix spellin errors --- scripts/rl-system.init | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'scripts/rl-system.init') 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 # 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 } -- cgit v1.2.3