From da89e861f217a0fb9852068ae922c2e5030c2d49 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Tue, 25 Apr 2017 22:01:07 +0300 Subject: [PATCH] bluetooth init script conf path fix --- board/common/overlay/etc/init.d/S37bluetooth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/common/overlay/etc/init.d/S37bluetooth b/board/common/overlay/etc/init.d/S37bluetooth index 22299d8cd6..f6c8d77e12 100755 --- a/board/common/overlay/etc/init.d/S37bluetooth +++ b/board/common/overlay/etc/init.d/S37bluetooth @@ -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