summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ca51166a..fd5b9eea 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