summaryrefslogtreecommitdiff
path: root/debian/initramfs
diff options
context:
space:
mode:
authormadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-07-30 16:37:34 +0000
committermadduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464>2006-07-30 16:37:34 +0000
commit1d196b237266e81e2531fb127c20c529aaabbd2d (patch)
tree3d1cbb06dbd1847834b2159c76e4d03bd9e52377 /debian/initramfs
parent02c5efd18e94750c056e0a71d7b01d14691c11e2 (diff)
only display dpkg-reconfigure message on debian
Diffstat (limited to 'debian/initramfs')
-rw-r--r--debian/initramfs/hook3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/initramfs/hook b/debian/initramfs/hook
index 0efb081b..bb23dbbc 100644
--- a/debian/initramfs/hook
+++ b/debian/initramfs/hook
@@ -100,6 +100,7 @@ else
echo "I: mdadm: not including RAID stuff." >&2
fi
-echo 'I: mdadm: use `dpkg-reconfigure -plow mdadm` to change this.' >&2
+[ -s /etc/default/mdadm ] && \
+ echo 'I: mdadm: use `dpkg-reconfigure -plow mdadm` to change this.' >&2
exit 0