summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/vyatta_net_name2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta_net_name b/scripts/vyatta_net_name
index 54f91f04..7a4420ad 100755
--- a/scripts/vyatta_net_name
+++ b/scripts/vyatta_net_name
@@ -114,7 +114,7 @@ finish ()
# out from under us. Remove the subject line plus the comment
# line above it
if [ -e $udev_persistent_net_rules_file ]; then
- sed -i -e "/^#/N;/${address}/d" $udev_persistent_net_rules_file
+ sed -i -e "/^#/N;/${address}.*NAME/d" $udev_persistent_net_rules_file
fi
exit $?