]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(bluetooth): make hostonly configuration files optional
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Mon, 31 Jan 2022 11:09:02 +0000 (12:09 +0100)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Sat, 5 Feb 2022 19:52:26 +0000 (19:52 +0000)
Do not fail if any of the expected configuration files don't exist.

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

index d75ea33abda75d79887e085d1201adfd9fb388cb..bf1b79710daca963fceaec1cb7846f72d45d2857 100755 (executable)
@@ -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"}"