]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(bluetooth): dbus configuration path fixes
authorJóhann B. Guðmundsson <johannbg@gmail.com>
Sat, 11 Dec 2021 22:28:45 +0000 (22:28 +0000)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Sat, 5 Feb 2022 19:49:16 +0000 (19:49 +0000)
Add a missing /usr/share path ( fixes #1627 )
Use variable instead of hard path

modules.d/62bluetooth/module-setup.sh

index b8270dd5df8d5342f5c8d565e690fb886426ba04..d75ea33abda75d79887e085d1201adfd9fb388cb 100755 (executable)
@@ -56,6 +56,7 @@ install() {
     local -a var_lib_files
 
     inst_multiple \
+        "$dbussystem"/bluetooth.conf \
         "${systemdsystemunitdir}/bluetooth.target" \
         "${systemdsystemunitdir}/bluetooth.service" \
         bluetoothctl
@@ -69,7 +70,7 @@ install() {
 
         inst_multiple \
             /etc/bluetooth/main.conf \
-            /etc/dbus-1/system.d/bluetooth.conf \
+            "$dbussystemconfdir"/bluetooth.conf \
             "${var_lib_files[@]#"$dracutsysrootdir"}"
     fi