r52 - mdadm/trunk/debian
madduck at users.alioth.debian.org
madduck at users.alioth.debian.org
Tue Aug 1 16:08:01 UTC 2006
Author: madduck
Date: 2006-08-01 16:07:59 +0000 (Tue, 01 Aug 2006)
New Revision: 52
Modified:
mdadm/trunk/debian/mdadm.config
Log:
cleaning up regexp
Modified: mdadm/trunk/debian/mdadm.config
===================================================================
--- mdadm/trunk/debian/mdadm.config 2006-08-01 15:22:37 UTC (rev 51)
+++ mdadm/trunk/debian/mdadm.config 2006-08-01 16:07:59 UTC (rev 52)
@@ -51,7 +51,7 @@
db_go
if [ -z "$INITRDSTART" ]; then
- ROOTRAIDDEV="$(df / | sed -ne 's,^\(/dev/[^[:space:]]\+\).*,\1,p')"
+ ROOTRAIDDEV="$(df / | sed -rne 's,^(/dev/[^[:space:]]+).*,\1,p')"
if ! mdadm --detail $ROOTRAIDDEV >/dev/null 2>&1; then
# you are using some funky setup. Let's be save...
INITRDSTART=all
More information about the pkg-mdadm-commits
mailing list