diff options
author | Marco d'Itri <md@Linux.IT> | 2006-08-27 02:28:31 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-08-27 02:28:31 +0200 |
commit | a1e6bd93d3d650c2064daafdb253120ae6e89398 (patch) | |
tree | ca49903d3fbf2eb2e9d2080630f548d70de8fd75 /etc/udev/debian/hotplug.rules | |
parent | 5780be9eab8e72dcce9d8bcfe15e8e1d3ae6bed8 (diff) |
update Debian rules
Diffstat (limited to 'etc/udev/debian/hotplug.rules')
-rw-r--r-- | etc/udev/debian/hotplug.rules | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/udev/debian/hotplug.rules b/etc/udev/debian/hotplug.rules index eae68864c9..8b48d77f56 100644 --- a/etc/udev/debian/hotplug.rules +++ b/etc/udev/debian/hotplug.rules @@ -1,7 +1,7 @@ ACTION!="add", GOTO="hotplug_not_add_event" # check if the device has already been claimed by a driver -ENV{PHYSDEVDRIVER}=="?*", SUBSYSTEM!="input", GOTO="hotplug_driver_loaded" +ENV{DRIVER}=="?*", SUBSYSTEM!="input", GOTO="hotplug_driver_loaded" # load the drivers ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}" @@ -25,7 +25,7 @@ SUBSYSTEM=="scsi_device", ATTRS{type}=="1", RUN+="/sbin/modprobe st", \ SUBSYSTEM=="scsi_device", ATTRS{type}=="[45]", RUN+="/sbin/modprobe sr_mod" SUBSYSTEM=="scsi_device", ATTRS{type}=="[235689]", RUN+="/sbin/modprobe sg" -SUBSYSTEM=="ide", ATTRS{media}=="tape", RUN+="/sbin/modprobe ide-scsi" +SUBSYSTEM=="ide", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-scsi" # From here on follows the hotplug agents which do not load modules LABEL="hotplug_driver_loaded" @@ -34,11 +34,11 @@ LABEL="hotplug_driver_loaded" #SUBSYSTEM=="scsi_device", ATTRS{idVendor}=="...", \ # RUN+="scsi-re-add" -SUBSYSTEM=="firmware", RUN+="firmware.agent" +SUBSYSTEM=="firmware", RUN+="firmware.agent" LABEL="hotplug_not_add_event" -SUBSYSTEM=="net", RUN+="/bin/sh -c '/lib/udev/net.agent &'" +SUBSYSTEM=="net", RUN+="net.agent" # Log every event to /dev/hotplug.log (for debugging). #RUN+="logger.agent" |