mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
S37bluetooth: use prepare_conf
This commit is contained in:
parent
6dff0a0ad1
commit
2d7d5c68d0
@ -4,14 +4,7 @@ sys_conf="/etc/bluetooth.conf"
|
|||||||
boot_conf="/boot/bluetooth.conf"
|
boot_conf="/boot/bluetooth.conf"
|
||||||
conf="/data/etc/bluetooth.conf"
|
conf="/data/etc/bluetooth.conf"
|
||||||
|
|
||||||
if ! [[ -f $conf ]]; then
|
prepare_conf $conf $sys_conf $boot_conf
|
||||||
if [[ -f $boot_conf ]]; then
|
|
||||||
cp $boot_conf $conf
|
|
||||||
elif [[ -f $sys_conf ]]; then
|
|
||||||
cp $sys_conf $conf
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
test -f $conf || exit 0
|
test -f $conf || exit 0
|
||||||
|
|
||||||
hci=hci0
|
hci=hci0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user