summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-13 02:16:44 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-13 02:16:44 +0200
commitda78e1b444924a7e10bdde6eeba8e6c818169a86 (patch)
tree6f07ce44b7baf300a40cafb17cc33e2af7d182af /src
parent7c610628cd907b8d04dbfe28dd23a0fa958c7dcd (diff)
units: introduce bluetooth.target/printer.target which are activated if the right hardware is plugged in
Diffstat (limited to 'src')
-rw-r--r--src/99-systemd.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/99-systemd.rules b/src/99-systemd.rules
index 70c0d8191a..003796e590 100644
--- a/src/99-systemd.rules
+++ b/src/99-systemd.rules
@@ -25,4 +25,7 @@ SUBSYSTEM=="block", TAG="systemd"
SUBSYSTEM=="net", KERNEL!="lo", TAG="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsystem/net/devices/%k"
+SUBSYSTEM=="bluetooth", TAG="systemd", ENV{SYSTEMD_WANTS}="bluetooth.target"
+SUBSYSTEM=="printer", TAG="systemd", ENV{SYSTEMD_WANTS}="printer.target"
+
LABEL="systemd_end"