mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
btuart attach: don't start unless rpi bt adapter detected
This commit is contained in:
parent
e83a9d02f2
commit
2ea7a0eb60
@ -6,6 +6,8 @@ conf="/data/etc/bluetooth.conf"
|
||||
|
||||
test -f $conf || test -f $boot_conf || test -f $sys_conf || exit 0
|
||||
|
||||
test -d "/proc/device-tree/soc/gpio@7e200000/uart0_pins" || exit 0 # no rpi bluetooth detected
|
||||
|
||||
test -n "$os_version" || source /etc/init.d/base
|
||||
|
||||
function start() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user