summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-19 17:22:13 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-19 17:22:13 -0800
commit9d6702bf32bd7ca2a82c78b5f76802c6ca619d6f (patch)
treeaaa30f4fd166f063e9aa8716aff581bc3a006163 /scripts
parentad3043d38a0c6a1123e82a994dd395e0f8c89ea4 (diff)
parent78c20cbfac9a8839402e396314a10c5d8a701f23 (diff)
downloadvyatta-cfg-quagga-9d6702bf32bd7ca2a82c78b5f76802c6ca619d6f.tar.gz
vyatta-cfg-quagga-9d6702bf32bd7ca2a82c78b5f76802c6ca619d6f.zip
Merge branch 'kenwood' of suva.vyatta.com:/git/vyatta-cfg-system into kenwood
Diffstat (limited to 'scripts')
-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 $?