summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-14 16:14:15 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-14 16:14:15 -0700
commit1da0095f4155100887a98638f3a9d78ff94b82c0 (patch)
tree9440cf7d94fef81cc359217b7ca355e15e7f4496 /scripts
parent50adca9203e0274c4dc790200e8af0ce2c70536d (diff)
downloadvyatta-cfg-system-1da0095f4155100887a98638f3a9d78ff94b82c0.tar.gz
vyatta-cfg-system-1da0095f4155100887a98638f3a9d78ff94b82c0.zip
Remove serial console before config
Need to flush out serial console lines from inittab to handle the case where no serial console is configured.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rl-system.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index e3733521..d8abbf01 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -214,6 +214,9 @@ start () {
fi
done
+ # Remove serial console settings
+ sed -i -e '/^T/d' /etc/inittab
+
## Clear out apt config file--it will be filled in by rtrmgr
empty /etc/apt/sources.list
}