mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
bluetooth init script conf path fix
This commit is contained in:
parent
6908ec6ed9
commit
da89e861f2
@ -25,7 +25,7 @@ configure() {
|
|||||||
|
|
||||||
# if no specific name configured, use hostname
|
# if no specific name configured, use hostname
|
||||||
if ! grep -E 'Name\s*=' $run_conf &>/dev/null; then
|
if ! grep -E 'Name\s*=' $run_conf &>/dev/null; then
|
||||||
sed -ri "s/(\[General\])/\1\nName = $(hostname)/" /etc/bluetooth/main.conf
|
sed -ri "s/(\[General\])/\1\nName = $(hostname)/" $run_conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# bring adapter up
|
# bring adapter up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user