aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>2022-01-31 12:09:02 +0100
committerJóhann B. Guðmundsson <johannbg@gmail.com>2022-02-05 19:52:26 +0000
commitd03fb675d8e904c6c44de9b91814b33c45043f4f (patch)
tree84f50c3a0ebfcc4071e0adf50f1d81991a4df1ec
parent34b1dd2e26c343e9000094db01a7985b6851adf1 (diff)
downloaddracut-d03fb675d8e904c6c44de9b91814b33c45043f4f.tar.gz
fix(bluetooth): make hostonly configuration files optional
Do not fail if any of the expected configuration files don't exist.
-rwxr-xr-xmodules.d/62bluetooth/module-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/62bluetooth/module-setup.sh b/modules.d/62bluetooth/module-setup.sh
index d75ea33a..bf1b7971 100755
--- a/modules.d/62bluetooth/module-setup.sh
+++ b/modules.d/62bluetooth/module-setup.sh
@@ -68,7 +68,7 @@ install() {
if [[ $hostonly ]]; then
var_lib_files=("$dracutsysrootdir"/var/lib/bluetooth/**)
- inst_multiple \
+ inst_multiple -o \
/etc/bluetooth/main.conf \
"$dbussystemconfdir"/bluetooth.conf \
"${var_lib_files[@]#"$dracutsysrootdir"}"