chiark / gitweb /
udev: use prettier subsystem paths for bluetooth devices, too
authorLennart Poettering <lennart@poettering.net>
Tue, 13 Jul 2010 00:40:24 +0000 (02:40 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 Jul 2010 00:40:24 +0000 (02:40 +0200)
src/99-systemd.rules

index ee8deaa..6d4379e 100644 (file)
@@ -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"