r39 - mdadm/trunk/debian/initramfs

madduck at users.alioth.debian.org madduck at users.alioth.debian.org
Sun Jul 30 16:37:35 UTC 2006


Author: madduck
Date: 2006-07-30 16:37:34 +0000 (Sun, 30 Jul 2006)
New Revision: 39

Modified:
   mdadm/trunk/debian/initramfs/hook
Log:
only display dpkg-reconfigure message on debian

Modified: mdadm/trunk/debian/initramfs/hook
===================================================================
--- mdadm/trunk/debian/initramfs/hook	2006-07-30 12:27:21 UTC (rev 38)
+++ mdadm/trunk/debian/initramfs/hook	2006-07-30 16:37:34 UTC (rev 39)
@@ -100,6 +100,7 @@
   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




More information about the pkg-mdadm-commits mailing list