From 0d5ab74c155cdd073d56d2da469b56d9ffa15fb5 Mon Sep 17 00:00:00 2001 From: Isaac Hermida Date: Mon, 9 Nov 2015 14:00:24 +0100 Subject: [PATCH] btfilter: bluez-init: Start bluetoothd daemon as service blueoothd does not longer daemonize. It needs to be start-stop as a service Signed-off-by: Isaac Hermida --- .../btfilter/btfilter-v3.4p4-b3.4.0.158/bluez-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-dey/recipes-connectivity/btfilter/btfilter-v3.4p4-b3.4.0.158/bluez-init b/meta-digi-dey/recipes-connectivity/btfilter/btfilter-v3.4p4-b3.4.0.158/bluez-init index 65e1af7ae..80edd7b3f 100755 --- a/meta-digi-dey/recipes-connectivity/btfilter/btfilter-v3.4p4-b3.4.0.158/bluez-init +++ b/meta-digi-dey/recipes-connectivity/btfilter/btfilter-v3.4p4-b3.4.0.158/bluez-init @@ -113,7 +113,7 @@ MACHINENAME="$(cat /proc/device-tree/digi,machine,name 2>/dev/null || cat /sys/k [ "${MACHINENAME}" = "ccardimx28" -o "${MACHINENAME}" = "ccimx6sbc" ] && bt_init # Run bluetooth daemon -if hciconfig hci0 up && /usr/lib/bluez5/bluetooth/bluetoothd; then +if hciconfig hci0 up && start-stop-daemon -S --background --exec /usr/lib/bluez5/bluetooth/bluetoothd; then : # No-op else echo "${SCRIPTNAME}: FAILED"