From de6ccee222ea7eee70c82d00aa11525f4a481a58 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 12 Aug 2009 12:21:03 -0700 Subject: Don't change name of non-ethernet devices Don't rename wireless devices to be ethX. --- sysconf/vyatta-net.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysconf') 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" -- cgit v1.2.3