summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-21 01:20:57 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-21 01:20:57 +0100
commit812bd1e6ab4c463507557f2bdbb8875fedd92ade (patch)
tree436a614a9de3b40876086d1c695dee64fb9d902f /units
parenteab459bc0639b81b32735f36d3e929e4bfa2cb4b (diff)
units: make sure rfkill service is bount to the actual hardware
Diffstat (limited to 'units')
-rw-r--r--units/systemd-rfkill@.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-rfkill@.service.in b/units/systemd-rfkill@.service.in
index 0e9851bf2e..b48efe5d99 100644
--- a/units/systemd-rfkill@.service.in
+++ b/units/systemd-rfkill@.service.in
@@ -9,6 +9,7 @@
Description=Load/Save RF Kill Switch Status of %I
Documentation=man:systemd-rfkill@.service(8)
DefaultDependencies=no
+BindsTo=sys-subsystem-rfkill-devices-%i.device
RequiresMountsFor=/var/lib/systemd/rfkill
Conflicts=shutdown.target
After=systemd-remount-fs.service