summaryrefslogtreecommitdiff
path: root/debian/initramfs/hook
diff options
context:
space:
mode:
Diffstat (limited to 'debian/initramfs/hook')
-rw-r--r--debian/initramfs/hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/initramfs/hook b/debian/initramfs/hook
index ae7d4d18..4e94c204 100644
--- a/debian/initramfs/hook
+++ b/debian/initramfs/hook
@@ -98,7 +98,7 @@ else
# make sure the configuration file knows about all running devices
/sbin/mdadm --detail --scan | while read array device params; do
uuid=${params#*UUID=}; uuid=${uuid%% *}
- if ! grep -q "UUID=$uuid" $DESTMDADMCONF; then
+ if ! grep -qi "UUID=$uuid" $DESTMDADMCONF; then
warn "the array $device with UUID $uuid"
warn "is currently active, but it is not listed in mdadm.conf. if"
warn "it is needed for boot, then YOUR SYSTEM IS NOW UNBOOTABLE!"