diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-08-12 12:21:03 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-08-12 12:21:03 -0700 |
commit | de6ccee222ea7eee70c82d00aa11525f4a481a58 (patch) | |
tree | 6398cb3fd7a59f6697cb225fa5a9a34be2ecfde4 /sysconf/vyatta-net.rules | |
parent | 404fb130ee09d072a732a3fb6eafb341b7038ea1 (diff) | |
download | vyatta-cfg-quagga-de6ccee222ea7eee70c82d00aa11525f4a481a58.tar.gz vyatta-cfg-quagga-de6ccee222ea7eee70c82d00aa11525f4a481a58.zip |
Don't change name of non-ethernet devices
Don't rename wireless devices to be ethX.
Diffstat (limited to 'sysconf/vyatta-net.rules')
-rw-r--r-- | sysconf/vyatta-net.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconf/vyatta-net.rules b/sysconf/vyatta-net.rules index 31901b42..a215c325 100644 --- a/sysconf/vyatta-net.rules +++ b/sysconf/vyatta-net.rules @@ -4,8 +4,8 @@ ACTION!="add", GOTO="vyatta_net_end" SUBSYSTEM!="net", GOTO="vyatta_net_end" -# ignore interfaces without a driver link like bridges and VLANs -KERNEL=="eth*|ath*|wlan*|ra*|sta*|ctc*|lcs*|hsi*", DRIVERS=="?*",\ +# Do name change for ethernet devices only +KERNEL=="eth*", DRIVERS=="?*",\ PROGRAM="vyatta_net_name %k $attr{address}", \ NAME="%c" |