X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2F99-systemd.rules;h=c079c35304e83f63e0fca8898454767be35fd5c7;hb=88bb8d215aa0f5576eb3f9c77c30cdc4b17783fe;hp=08ee59f17708e0b67b24445a53d60275bf788e44;hpb=6edef9c587b374a81f4ecc23359bb958857d3def;p=elogind.git diff --git a/src/99-systemd.rules b/src/99-systemd.rules index 08ee59f17..c079c3530 100644 --- a/src/99-systemd.rules +++ b/src/99-systemd.rules @@ -5,15 +5,10 @@ # 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" SUBSYSTEM=="block", KERNEL!="ram*|loop*", TAG+="systemd" SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", ENV{SYSTEMD_READY}="0"