summaryrefslogtreecommitdiff
path: root/scripts/rl-system.init
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2010-06-21 11:01:16 -0700
committerMichael Larson <slioch@slioch.vyatta.com>2010-06-21 11:01:16 -0700
commit6d59b5077ef1834379a950437b01d15d687c7a53 (patch)
tree39bbdfeab7e2f643f56c18e5413fc017c9879235 /scripts/rl-system.init
parent67fd8444e756bcf5e86f81f242c57b7eab76930e (diff)
downloadvyatta-cfg-system-6d59b5077ef1834379a950437b01d15d687c7a53.tar.gz
vyatta-cfg-system-6d59b5077ef1834379a950437b01d15d687c7a53.zip
fix for bug 5663
Diffstat (limited to 'scripts/rl-system.init')
-rwxr-xr-xscripts/rl-system.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index e7eaed14..d95fcafa 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -78,7 +78,7 @@ add_new_serial_if () {
done
if [ -e $__config_additions ]; then
rm -f /tmp/__bootfile
- sed '/^interfaces {$/ r '$__config_additions \
+ sed '/^[! ]*interfaces {$/ r '$__config_additions \
$BOOTFILE > /tmp/__bootfile
mv /tmp/__bootfile $BOOTFILE
rm -f $__config_additions