summaryrefslogtreecommitdiff
path: root/src/99-systemd.rules
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-13 02:40:24 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-13 02:40:24 +0200
commit17df43e32c6fc5119c3e7823d39ed129d823e919 (patch)
tree53f37117c68de37299fe64f1785a9e9aa200d18f /src/99-systemd.rules
parent935e3e5cc7a8e984d54ff7ebd870d50ae47b6aae (diff)
udev: use prettier subsystem paths for bluetooth devices, too
Diffstat (limited to 'src/99-systemd.rules')
-rw-r--r--src/99-systemd.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/99-systemd.rules b/src/99-systemd.rules
index ee8deaa5f7..6d4379ec95 100644
--- a/src/99-systemd.rules
+++ b/src/99-systemd.rules
@@ -28,6 +28,7 @@ SUBSYSTEM=="block", ENV{DM_NAME}!="", ENV{SYSTEMD_ALIAS}="/dev/mapper/$env{DM_NA
# http://git.kernel.org/?p=linux/hotplug/udev.git;a=blob;f=libudev/libudev-enumerate.c;h=da831449dcaf5e936a14409e8e68ab12d30a98e2;hb=HEAD#l742
SUBSYSTEM=="net", KERNEL!="lo", TAG="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsystem/net/devices/%k"
+SUBSYSTEM=="bluetooth", TAG="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsystem/bluetooth/devices/%k"
SUBSYSTEM=="bluetooth", TAG="systemd", ENV{SYSTEMD_WANTS}="bluetooth.target"
SUBSYSTEM=="printer", TAG="systemd", ENV{SYSTEMD_WANTS}="printer.target"