bluetooth init script conf path fix

This commit is contained in:
Calin Crisan 2017-04-25 22:01:07 +03:00
parent 6908ec6ed9
commit da89e861f2

View File

@ -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