diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-10-14 04:31:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-10-14 04:31:49 +0200 |
commit | 3990f247652c3bd41e4ea074e6302277eb9c7aa3 (patch) | |
tree | a374a06aa0c19ef135bf93f47cfc50c76b476c17 /rules/99-systemd.rules.in | |
parent | 0f4ba83c397e807939a4eb0b2cbd04ad4ab548cc (diff) |
rfkill: add new rfkill tool to save/restore rfkill state across reboots
This works analogous to the existing backlight and random seed services
Diffstat (limited to 'rules/99-systemd.rules.in')
-rw-r--r-- | rules/99-systemd.rules.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in index 498e89c3d8..2ffe744413 100644 --- a/rules/99-systemd.rules.in +++ b/rules/99-systemd.rules.in @@ -57,6 +57,10 @@ ACTION=="add", SUBSYSTEM=="net", KERNEL!="lo", RUN+="@rootlibexecdir@/systemd-sy ACTION=="add", SUBSYSTEM=="backlight", TAG+="systemd", ENV{SYSTEMD_WANTS}+="systemd-backlight@backlight:$name.service" ACTION=="add", SUBSYSTEM=="leds", KERNEL=="*kbd_backlight", TAG+="systemd", ENV{SYSTEMD_WANTS}+="systemd-backlight@leds:$name.service" +# Pull in rfkill save/restore for all rfkill devices + +ACTION=="add", SUBSYSTEM=="rfkill", TAG+="systemd", ENV{SYSTEMD_WANTS}+="systemd-rfkill@rfkill:$name.service" + # Asynchronously mount file systems implemented by these modules as # soon as they are loaded. |