diff options
author | Jon Andersson <Jon.Andersson@Thales.no> | 2009-10-26 08:34:49 +0100 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2010-01-19 16:51:27 -0800 |
commit | dfcecc70a00da8d70f9e4b7d365385a9b5212070 (patch) | |
tree | f52980e2ceb9d5cfb46a400fa89e936bec047045 | |
parent | 153a88d6cee7ae03a36b8b121dbac523bce0acdd (diff) | |
download | vyatta-cfg-system-dfcecc70a00da8d70f9e4b7d365385a9b5212070.tar.gz vyatta-cfg-system-dfcecc70a00da8d70f9e4b7d365385a9b5212070.zip |
Restiction on filtering of udev rules
-rwxr-xr-x | scripts/vyatta_net_name | 2 |
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 $? |