SOURCES: udev-example.rules - sane network interface renaming

wolf wolf at pld-linux.org
Fri Jul 13 01:02:15 CEST 2007


Author: wolf                         Date: Thu Jul 12 23:02:15 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- sane network interface renaming

---- Files affected:
SOURCES:
   udev-example.rules (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/udev-example.rules
diff -u SOURCES/udev-example.rules:1.5 SOURCES/udev-example.rules:1.6
--- SOURCES/udev-example.rules:1.5	Wed Apr 25 15:01:37 2007
+++ SOURCES/udev-example.rules	Fri Jul 13 01:02:10 2007
@@ -4,11 +4,11 @@
 # ACTION!="add", GOTO="local_end"
 # SUBSYSTEM!="net", GOTO="local_end"
 #
-### KERNEL="oldnameprefix*", SYSFS{address}=="MACaddress", NAME="newname"
+# rename network interfaces using mac address
 #
-# KERNEL=="eth?", DRIVERS=="?*", SYSFS{address}=="00:01:02:03:04:05", SYSFS{device}=="0x1111", NAME="wireless"
-# KERNEL=="eth?", DRIVERS=="?*", SYSFS{address}=="00:11:12:13:14:15", SYSFS{device}=="0x2222", NAME="lan"
-# KERNEL=="eth?", DRIVERS=="?*", SYSFS{address}=="00:aa:bb:cc:dd:ee:ff:11", SYSFS{device}=="0x3333", NAME="firewire"
+# KERNEL=="eth?", SYSFS{address}=="00:01:02:03:04:05", NAME="wireless"
+# KERNEL=="eth?", SYSFS{address}=="00:11:12:13:14:15", NAME="lan"
+# KERNEL=="eth?", SYSFS{address}=="00:aa:bb:cc:dd:ee:ff:11", NAME="firewire"
 #
 # LABEL="local_end"
 #
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/udev-example.rules?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list