mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +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"
|
||||
conf="/data/etc/bluetooth.conf"
|
||||
|
||||
if ! [[ -f $conf ]]; then
|
||||
if [[ -f $boot_conf ]]; then
|
||||
cp $boot_conf $conf
|
||||
elif [[ -f $sys_conf ]]; then
|
||||
cp $sys_conf $conf
|
||||
fi
|
||||
fi
|
||||
|
||||
prepare_conf $conf $sys_conf $boot_conf
|
||||
test -f $conf || exit 0
|
||||
|
||||
hci=hci0
|
||||
|
Loading…
x
Reference in New Issue
Block a user