From f334ea7cf7a95c042a47942039ad54fbcdf46c39 Mon Sep 17 00:00:00 2001 From: Esat Date: Wed, 27 May 2026 18:42:56 +0300 Subject: [PATCH] fix(bluetooth): skip warning when module is explicitly requested --- modules.d/70bluetooth/module-setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules.d/70bluetooth/module-setup.sh b/modules.d/70bluetooth/module-setup.sh index 203fc495f..b7516630f 100755 --- a/modules.d/70bluetooth/module-setup.sh +++ b/modules.d/70bluetooth/module-setup.sh @@ -14,6 +14,7 @@ check() { # * Keyboard/pointing (0xC0) # and if Appearance is set to the value defined for keyboard (0x03C1) [ -d "/sys/class/bluetooth" ] && grep -qsiE -e 'Class=0x[0-9a-f]{3}5[4c]0' -e 'Appearance=0x03c1' /var/lib/bluetooth/*/*/info \ + && [[ " $dracutmodules $add_dracutmodules $force_add_dracutmodules " != *\ bluetooth\ * ]] \ && dwarn "If you need to use bluetooth, please include it explicitly." fi -- 2.47.3