SOURCES: udev-example.rules (NEW) - basic examples of net and cdro...

freetz freetz at pld-linux.org
Sun Aug 13 17:29:15 CEST 2006


Author: freetz                       Date: Sun Aug 13 15:29:15 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- basic examples of net and cdrom rules

---- Files affected:
SOURCES:
   udev-example.rules (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/udev-example.rules
diff -u /dev/null SOURCES/udev-example.rules:1.1
--- /dev/null	Sun Aug 13 17:29:15 2006
+++ SOURCES/udev-example.rules	Sun Aug 13 17:29:10 2006
@@ -0,0 +1,20 @@
+#
+# persistent net rules example:
+#
+# ACTION!="add", GOTO="local_end"
+# SUBSYSTEM!="net", GOTO="local_end"
+#
+# DRIVER=="?*", SYSFS{address}=="00:01:02:03:04:05", SYSFS{device}=="0x1111", NAME="wireless"
+# DRIVER=="?*", SYSFS{address}=="00:11:12:13:14:15", SYSFS{device}=="0x2222", NAME="lan"
+# DRIVER=="?*", SYSFS{address}=="00:aa:bb:cc:dd:ee:ff:11", SYSFS{device}=="0x3333", NAME="firewire"
+#
+# LABEL="local_end"
+#
+# persistent CD-ROM rules example:
+#
+# ACTION!="add", GOTO="local_end"
+#
+# BUS=="ide", ID=="0.1", SYMLINK+="cdrom" 
+# BUS=="ide", ID=="1.1", SYMLINK+="cdrom1"
+#
+# LABEL="local_end"
================================================================


More information about the pld-cvs-commit mailing list