diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-08 14:48:22 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-08 14:48:22 -0800 |
commit | e22eb2d21c15a0053178b88c8b9444d0d05e9af1 (patch) | |
tree | ec39f1b73b89d5acf86c49fb0eb9121cf5e37eef /sysconf | |
parent | 17b7a875e114c6765ec5940dda8a067b5e51da1c (diff) | |
download | vyatta-cfg-quagga-e22eb2d21c15a0053178b88c8b9444d0d05e9af1.tar.gz vyatta-cfg-quagga-e22eb2d21c15a0053178b88c8b9444d0d05e9af1.zip |
Keep udev from borking wireless device names
If second wlan device is created (for multiple ssid), then udev
rules don't know how to handle it. For now, just accept what kernel
gives us.
Diffstat (limited to 'sysconf')
-rw-r--r-- | sysconf/vyatta-net.rules | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysconf/vyatta-net.rules b/sysconf/vyatta-net.rules index a215c325..a94f5b2a 100644 --- a/sysconf/vyatta-net.rules +++ b/sysconf/vyatta-net.rules @@ -9,5 +9,12 @@ KERNEL=="eth*", DRIVERS=="?*",\ PROGRAM="vyatta_net_name %k $attr{address}", \ NAME="%c" +# This keeps udev persistent net rules from trying to do anything +# with multiple SSID's per device +# TODO: Add proper persistent network based on Vyatta config +# but right now there is insufficient info in sysfs to uniquely +# determine device name based on hardware information +KERNEL=="wlan*", DRIVERS=="?*", NAME="%k" + LABEL="vyatta_net_end" |