From: Lennart Poettering Date: Tue, 5 Jul 2011 12:27:26 +0000 (+0200) Subject: udev: improve udev rule a bit X-Git-Tag: v30~52 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=347b9c4b1fc4f7368c006d8c95264a8e7d6df74c;p=systemd udev: improve udev rule a bit --- diff --git a/src/99-systemd.rules b/src/99-systemd.rules index d2c41c1c..f262185e 100644 --- a/src/99-systemd.rules +++ b/src/99-systemd.rules @@ -37,6 +37,6 @@ SUBSYSTEM=="sound", KERNEL=="card*", TAG+="systemd", ENV{SYSTEMD_WANTS}="sound.t SUBSYSTEM=="printer", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target" SUBSYSTEM=="usb", KERNEL=="lp*", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target" -SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701*:", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target" +SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0701??:*", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target" LABEL="systemd_end"