don't start dbus service unless dbus-daemon present

This commit is contained in:
Calin Crisan 2017-12-27 01:08:41 +02:00
parent 012dbbd693
commit 74be0d6378

View File

@ -4,9 +4,11 @@ sys_btconf="/etc/bluetooth.conf"
boot_btconf="/boot/bluetooth.conf"
btconf="/data/etc/bluetooth.conf"
# dbus is only used by bluez
# dbus is currently only used by bluez
test -f $btconf || test -f $boot_btconf || test -f $sys_btconf || exit 0
test -x /usr/bin/dbus-daemon || exit 0
test -n "$os_version" || source /etc/init.d/base
start() {