summaryrefslogtreecommitdiff
path: root/scripts/rl-system.init
diff options
context:
space:
mode:
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