summaryrefslogtreecommitdiff
path: root/scripts/vyatta_net_name
diff options
context:
space:
mode:
authorJon Andersson <Jon.Andersson@Thales.no>2009-10-26 08:34:49 +0100
committerStig Thormodsrud <stig@vyatta.com>2010-01-19 16:51:27 -0800
commitdfcecc70a00da8d70f9e4b7d365385a9b5212070 (patch)
treef52980e2ceb9d5cfb46a400fa89e936bec047045 /scripts/vyatta_net_name
parent153a88d6cee7ae03a36b8b121dbac523bce0acdd (diff)
downloadvyatta-cfg-system-dfcecc70a00da8d70f9e4b7d365385a9b5212070.tar.gz
vyatta-cfg-system-dfcecc70a00da8d70f9e4b7d365385a9b5212070.zip
Restiction on filtering of udev rules
Diffstat (limited to 'scripts/vyatta_net_name')
-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 $?