]> err.no Git - systemd/commitdiff
rules: Fedora update
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 3 May 2007 00:12:18 +0000 (02:12 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 3 May 2007 00:12:18 +0000 (02:12 +0200)
etc/udev/redhat/05-udev-early.rules
etc/udev/redhat/50-udev.rules

index c3024569feefe72b8f86e522fa350fea8fee4ef1..a58cc033d23f793a07eb37cf99f6874dc4826524 100644 (file)
@@ -5,13 +5,15 @@ SUBSYSTEM=="drivers",         OPTIONS="ignore_device"
 SUBSYSTEM=="module",           OPTIONS="ignore_device"
 
 
-ACTION=="add", SUBSYSTEM=="?*", ENV{MODALIAS}=="?*", RUN+="modprobe $env{MODALIAS}", OPTIONS="last_rule"
+ACTION=="add", SUBSYSTEM=="?*", ENV{MODALIAS}=="?*", RUN+="modprobe $env{MODALIAS}", GOTO="skip_wait"
 
 # pnp devices
-ACTION=="add", SUBSYSTEM=="pnp", RUN+="/bin/sh -c 'while read id; do /lib/udev/modprobe pnp:d$$id; done < /sys/$devpath/id'", OPTIONS="last_rule"
+ACTION=="add", SUBSYSTEM=="pnp", RUN+="/bin/sh -c 'while read id; do /lib/udev/modprobe pnp:d$$id; done < /sys/$devpath/id'"
 
 ACTION=="add", SUBSYSTEM=="net", WAIT_FOR_SYSFS="address"
 
 ACTION=="add", SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt"
 
+LABEL="skip_wait"
+
 ACTION=="add", SUBSYSTEM=="firmware", ENV{FIRMWARE}=="*", RUN="/sbin/firmware_helper", OPTIONS="last_rule"
index 9e946dae25b594f444afd1785ea350ea0f9e6c6c..c410e8575adc3fc6d9514bfbfeab9217346f2a42 100644 (file)
@@ -206,7 +206,7 @@ KERNEL=="tty0",                     SYMLINK+="systty"
 KERNEL=="vbi0",                        SYMLINK+="vbi"
 KERNEL=="null",                        SYMLINK+="XOR"
 
-KERNEL=="tun",                 NAME="net/%k"
+KERNEL=="tun",                 NAME="net/%k", MODE="0666"
 
 KERNEL=="device-mapper",       NAME="mapper/control"