X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2F99-systemd.rules;h=634bb9a10171431888f17d335d6e8e9c29fdc19e;hb=de58283f71162d3e6522b67e044f8f9ee9fdf066;hp=6d4379ec9519a17ed96f07c2b03a40a9453e05c7;hpb=17df43e32c6fc5119c3e7823d39ed129d823e919;p=elogind.git diff --git a/src/99-systemd.rules b/src/99-systemd.rules index 6d4379ec9..634bb9a10 100644 --- a/src/99-systemd.rules +++ b/src/99-systemd.rules @@ -12,10 +12,6 @@ KERNEL=="ttyS*", TAG="systemd" SUBSYSTEM=="block", KERNEL!="ram*|loop*", TAG="systemd" -# DM finds it funny to create additional device nodes, we need to -merge them here, so that we recognize identical devices. -SUBSYSTEM=="block", ENV{DM_NAME}!="", ENV{SYSTEMD_ALIAS}="/dev/mapper/$env{DM_NAME}" - # We need a hardware independent way to identify network devices. We # use the /sys/subsystem path for this. Current vanilla kernels don't # actually support that hierarchy right now, however upcoming kernels @@ -32,5 +28,6 @@ SUBSYSTEM=="bluetooth", TAG="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsystem/blueto 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" LABEL="systemd_end"