diff options
author | Jóhann B. Guðmundsson <johannbg@gmail.com> | 2021-12-11 22:28:45 +0000 |
---|---|---|
committer | Jóhann B. Guðmundsson <johannbg@gmail.com> | 2022-02-05 19:49:16 +0000 |
commit | 34b1dd2e26c343e9000094db01a7985b6851adf1 (patch) | |
tree | 61be0d7e1933883fab8b4cee4be839f8e9049d13 | |
parent | 51ce8893d981e90640123a7dcc3e4f3621e7d819 (diff) | |
download | dracut-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-x | modules.d/62bluetooth/module-setup.sh | 3 |
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 |