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