summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-08-24 01:09:21 +0200
committerLennart Poettering <lennart@poettering.net>2011-08-24 01:09:21 +0200
commit944d6c04270932cbfb1baf3e24a127d31531904f (patch)
tree78fe346ae611574679d08b28b06b2e8d66365254
parente03695957fc37406ded60fd0c6a42cab1b96f10f (diff)
udev: since bt devices cannot be renamed revert to %k
-rw-r--r--src/99-systemd.rules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/99-systemd.rules.in b/src/99-systemd.rules.in
index c036e2d51..a9e740e05 100644
--- a/src/99-systemd.rules.in
+++ b/src/99-systemd.rules.in
@@ -31,7 +31,7 @@ SUBSYSTEM=="block", KERNEL!="ram*|loop*", ENV{DM_UUID}=="CRYPT-*", ENV{ID_PART_T
# 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/$name"
-SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsystem/bluetooth/devices/$name"
+SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsystem/bluetooth/devices/%k"
SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_WANTS}="bluetooth.target"
ENV{ID_SMARTCARD_READER}=="*?", TAG+="systemd", ENV{SYSTEMD_WANTS}="smartcard.target"