mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
bluez: init: add debug
This commit is contained in:
parent
cff10844b3
commit
793001f943
@ -28,6 +28,10 @@
|
|||||||
# ensure that environment is sane
|
# ensure that environment is sane
|
||||||
. /etc/profile
|
. /etc/profile
|
||||||
|
|
||||||
|
if [ "$DEBUG" = "yes" ]; then
|
||||||
|
BLUEZ_DEBUG="-d"
|
||||||
|
fi
|
||||||
|
|
||||||
BLUEZ_ENABLED=true
|
BLUEZ_ENABLED=true
|
||||||
if [ -f $CONFIG_CACHE/service_bluez.conf ]; then
|
if [ -f $CONFIG_CACHE/service_bluez.conf ]; then
|
||||||
. $CONFIG_CACHE/service_bluez.conf
|
. $CONFIG_CACHE/service_bluez.conf
|
||||||
@ -36,6 +40,6 @@
|
|||||||
if [ "$BLUEZ_ENABLED" == "true" ]; then
|
if [ "$BLUEZ_ENABLED" == "true" ]; then
|
||||||
progress "Starting bluetooth daemon"
|
progress "Starting bluetooth daemon"
|
||||||
wait_for_dbus
|
wait_for_dbus
|
||||||
/usr/lib/bluetooth/bluetoothd &>/dev/null
|
/usr/lib/bluetooth/bluetoothd $BLUEZ_DEBUG &>/dev/null
|
||||||
fi
|
fi
|
||||||
)&
|
)&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user