X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2F99-systemd.rules;h=f015d5e67b4417499e62f46834bf45b05f1e4a99;hp=08ee59f17708e0b67b24445a53d60275bf788e44;hb=2376ce132bdba049f015b22b2db3a77c570aa154;hpb=6edef9c587b374a81f4ecc23359bb958857d3def diff --git a/src/99-systemd.rules b/src/99-systemd.rules index 08ee59f17..f015d5e67 100644 --- a/src/99-systemd.rules +++ b/src/99-systemd.rules @@ -5,15 +5,12 @@ # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. -ACTION!="add|change", GOTO="systemd_end" +ACTION=="remove", GOTO="systemd_end" SUBSYSTEM=="tty", KERNEL=="tty[0-9]|tty1[0-2]", TAG+="systemd" -SUBSYSTEM=="tty", KERNEL=="ttyS*", TAG+="systemd" -SUBSYSTEM=="tty", KERNEL=="hvc*", TAG+="systemd" -SUBSYSTEM=="tty", KERNEL=="ttyUSB*", TAG+="systemd" -SUBSYSTEM=="tty", KERNEL=="ttyAM*", TAG+="systemd" -SUBSYSTEM=="tty", KERNEL=="ttymxc*", TAG+="systemd" -SUBSYSTEM=="tty", KERNEL=="ttyPSC*", TAG+="systemd" +SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*", TAG+="systemd" + +KERNEL=="vport*", TAG+="systemd" SUBSYSTEM=="block", KERNEL!="ram*|loop*", TAG+="systemd" SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", ENV{SYSTEMD_READY}="0" @@ -37,8 +34,11 @@ SUBSYSTEM=="net", KERNEL!="lo", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsyst SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsystem/bluetooth/devices/%k" SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_WANTS}="bluetooth.target" -SUBSYSTEM=="printer", TAG+="systemd", ENV{SYSTEMD_WANTS}="printer.target" ENV{ID_SMARTCARD_READER}=="*?", TAG+="systemd", ENV{SYSTEMD_WANTS}="smartcard.target" SUBSYSTEM=="sound", KERNEL=="card*", TAG+="systemd", ENV{SYSTEMD_WANTS}="sound.target" +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" + LABEL="systemd_end"