From dfcecc70a00da8d70f9e4b7d365385a9b5212070 Mon Sep 17 00:00:00 2001 From: Jon Andersson Date: Mon, 26 Oct 2009 08:34:49 +0100 Subject: Restiction on filtering of udev rules --- scripts/vyatta_net_name | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/vyatta_net_name') 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 $? -- cgit v1.2.3