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