mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +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 ! 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
|
||||
|
||||
# bring adapter up
|
||||
|
Loading…
x
Reference in New Issue
Block a user