r34 - mdadm/trunk/debian
madduck at users.alioth.debian.org
madduck at users.alioth.debian.org
Sat Jul 29 19:43:27 UTC 2006
Author: madduck
Date: 2006-07-29 19:43:26 +0000 (Sat, 29 Jul 2006)
New Revision: 34
Modified:
mdadm/trunk/debian/mkconf
Log:
better check for /proc
Modified: mdadm/trunk/debian/mkconf
===================================================================
--- mdadm/trunk/debian/mkconf 2006-07-29 09:38:23 UTC (rev 33)
+++ mdadm/trunk/debian/mkconf 2006-07-29 19:43:26 UTC (rev 34)
@@ -9,6 +9,11 @@
MDADM=/sbin/mdadm
DEBIANCONFIG=/etc/default/mdadm
+if [ ! -d /proc/$$ ]; then
+ echo E: /proc not available. Exiting... >&2
+ exit 2
+fi
+
test -f $DEBIANCONFIG && . $DEBIANCONFIG
if [ -r /proc/partitions ]; then
More information about the pkg-mdadm-commits
mailing list