diff options
author | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-08-01 16:07:59 +0000 |
---|---|---|
committer | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2006-08-01 16:07:59 +0000 |
commit | a7e2430bda7004d70f201f16f86251cc5fcedf78 (patch) | |
tree | 48ec3abea7fbdee066a244ccdd82cbb6f08cf0df /debian/mdadm.config | |
parent | 16c734029b2461e8468d3b8e5413bd893420830c (diff) |
cleaning up regexp
Diffstat (limited to 'debian/mdadm.config')
-rw-r--r-- | debian/mdadm.config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mdadm.config b/debian/mdadm.config index 239ed287..a7e33dab 100644 --- a/debian/mdadm.config +++ b/debian/mdadm.config @@ -51,7 +51,7 @@ db_input high mdadm/warning || true 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 |