mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
don't start dbus service unless dbus-daemon present
This commit is contained in:
parent
012dbbd693
commit
74be0d6378
@ -4,9 +4,11 @@ sys_btconf="/etc/bluetooth.conf"
|
|||||||
boot_btconf="/boot/bluetooth.conf"
|
boot_btconf="/boot/bluetooth.conf"
|
||||||
btconf="/data/etc/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 -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
|
test -n "$os_version" || source /etc/init.d/base
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user