X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=rules%2F99-systemd.rules.in;h=b66d727a48711316978a7242ef30ed9dd4dda46c;hb=432cea008720480f6eaae7e75e6ad255e91fe2b4;hp=e30d9a8f1bbdefd13735e201e2290af0f1ce0c2b;hpb=1b600437bac3c0676cc72f589909c4cbfe38ba10;p=elogind.git diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in index e30d9a8f1..b66d727a4 100644 --- a/rules/99-systemd.rules.in +++ b/rules/99-systemd.rules.in @@ -62,7 +62,7 @@ SUBSYSTEM=="leds", KERNEL=="*kbd_backlight", TAG+="systemd", IMPORT{builtin}="pa # Pull in rfkill save/restore for all rfkill devices -SUBSYSTEM=="rfkill", TAG+="systemd", IMPORT{builtin}="path_id", ENV{SYSTEMD_WANTS}+="systemd-rfkill@$name.service" +SUBSYSTEM=="rfkill", TAG+="systemd", IMPORT{builtin}="path_id", ENV{SYSTEMD_ALIAS}+="/sys/subsystem/rfkill/devices/%k", ENV{SYSTEMD_WANTS}+="systemd-rfkill@$name.service" # Asynchronously mount file systems implemented by these modules as # soon as they are loaded.