aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJóhann B. Guðmundsson <johannbg@gmail.com>2021-12-11 22:28:45 +0000
committerJóhann B. Guðmundsson <johannbg@gmail.com>2022-02-05 19:49:16 +0000
commit34b1dd2e26c343e9000094db01a7985b6851adf1 (patch)
tree61be0d7e1933883fab8b4cee4be839f8e9049d13
parent51ce8893d981e90640123a7dcc3e4f3621e7d819 (diff)
downloaddracut-34b1dd2e26c343e9000094db01a7985b6851adf1.tar.gz
fix(bluetooth): dbus configuration path fixes
Add a missing /usr/share path ( fixes #1627 ) Use variable instead of hard path
-rwxr-xr-xmodules.d/62bluetooth/module-setup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules.d/62bluetooth/module-setup.sh b/modules.d/62bluetooth/module-setup.sh
index b8270dd5..d75ea33a 100755
--- a/modules.d/62bluetooth/module-setup.sh
+++ b/modules.d/62bluetooth/module-setup.sh
@@ -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