summaryrefslogtreecommitdiff
path: root/modules.d/90mdraid
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2011-10-04 13:06:33 +0200
committerHarald Hoyer <harald@redhat.com>2011-10-04 13:06:33 +0200
commite0e9221e23f783ce670349df52da46bf6dc05c14 (patch)
tree956d3ffc6e3f76c400e11948edf98391477bd6b6 /modules.d/90mdraid
parent77a57d5eafc3e46d01b196312d5dd4f28e0e8010 (diff)
downloaddracut-e0e9221e23f783ce670349df52da46bf6dc05c14.tar.gz
dracut-e0e9221e23f783ce670349df52da46bf6dc05c14.tar.bz2
dracut-e0e9221e23f783ce670349df52da46bf6dc05c14.zip
90mdraid/mdraid_start.sh: fix path to md sysfs
Diffstat (limited to 'modules.d/90mdraid')
-rwxr-xr-xmodules.d/90mdraid/mdraid_start.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/90mdraid/mdraid_start.sh b/modules.d/90mdraid/mdraid_start.sh
index f79f16eb..f4b7ad0c 100755
--- a/modules.d/90mdraid/mdraid_start.sh
+++ b/modules.d/90mdraid/mdraid_start.sh
@@ -14,7 +14,7 @@ _md_force_run() {
strstr "$_udevinfo" "MD_LEVEL=container" && continue
strstr "$_udevinfo" "DEVTYPE=partition" && continue
- _path_s="$(udevadm info -q path -n "$md")/md/array_state"
+ _path_s="/sys/$(udevadm info -q path -n "$md")/md/array_state"
[ ! -r "$_path_s" ] && continue
# inactive ?