diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2010-10-26 14:48:22 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2010-10-26 14:48:22 -0700 |
commit | 40461ef6ea9325b0dd1262cd3b99ffcbcf69dfd6 (patch) | |
tree | f1ef54222a2296bbed7103a2db1e44529e95d3a9 /sysconf/69-vyatta-net.rules | |
parent | 7dc4ac0cb122bc98f903f93fc83e93007de7c751 (diff) | |
parent | 3e0d01a69b7f70977375ab73a51cfc5004813065 (diff) | |
download | vyatta-cfg-system-40461ef6ea9325b0dd1262cd3b99ffcbcf69dfd6.tar.gz vyatta-cfg-system-40461ef6ea9325b0dd1262cd3b99ffcbcf69dfd6.zip |
Merge branch 'mendocino' of http://git.vyatta.com/vyatta-cfg-system into mendocino
Diffstat (limited to 'sysconf/69-vyatta-net.rules')
-rw-r--r-- | sysconf/69-vyatta-net.rules | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sysconf/69-vyatta-net.rules b/sysconf/69-vyatta-net.rules deleted file mode 100644 index 9e874381..00000000 --- a/sysconf/69-vyatta-net.rules +++ /dev/null @@ -1,25 +0,0 @@ -# These rules use vyatta_net_name to persistently name network interfaces -# per "hwid" association with the interface block of the vyatta config file. - -# note that this is actually invoked twice: once during early rcS (udev) -# and the second time during rl-system (rescan). pre-mendocino, ACTION is -# "add" on both invocations, so the original rule looks for "add". -# -# however, in mendocino, the squeeze udev performs the second invocation with -# ACTION "change", so the original rule does not get applied on the second -# invocation, and therefore config.boot is not updated by rl-system. -# -# to emulate the previous behavior, invoke vyatta_net_name for both "add" and -# "change" for now. however, the two-pass approach should be revisited to -# determine if it is still necessary. - -ACTION!="add", ACTION!="change", GOTO="vyatta_net_end" -SUBSYSTEM!="net", GOTO="vyatta_net_end" - -# ignore the interface if a name has already been set -NAME=="?*", GOTO="vyatta_net_end" - -# Do name change for ethernet devices only -KERNEL=="eth*", PROGRAM="vyatta_net_name %k $attr{address}", NAME="%c" - -LABEL="vyatta_net_end" |