From: Arne Fitzenreiter Date: Sun, 29 Dec 2013 19:14:01 +0000 (+0100) Subject: bluetooth: update udev rules. X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=a538898a469237653e1f0ada0238e7f4168a1991 bluetooth: update udev rules. --- diff --git a/lfs/bluetooth b/lfs/bluetooth index 33e126cfa..dc5eec7ea 100644 --- a/lfs/bluetooth +++ b/lfs/bluetooth @@ -109,6 +109,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_SRC)/bluez-hcidump-1.42 && make $(MAKETUNING) cd $(DIR_SRC)/bluez-hcidump-1.42 && make install mv -f /etc/udev/bluetooth.rules /lib/udev/rules.d/24-bluetooth.rules + # Patch udev rules for new udev version + sed -i -e "s/SYSFS{/ATTRS{/g" /lib/udev/rules.d/24-bluetooth.rules + sed -i -e "s/BUS==/SUBSYSTEMS==/g" /lib/udev/rules.d/24-bluetooth.rules # Change bluetooth peername to Hostname-devicenumber sed -i -e 's|name "BlueZ (%d)";|name "%h-%d";|g' /etc/bluetooth/hcid.conf # Create empty config files