90mdraid/mdraid_start.sh: fix path to md sysfs

master
Harald Hoyer 2011-10-04 13:06:33 +02:00
parent 77a57d5eaf
commit e0e9221e23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ _md_force_run() {
strstr "$_udevinfo" "MD_LEVEL=container" && continue strstr "$_udevinfo" "MD_LEVEL=container" && continue
strstr "$_udevinfo" "DEVTYPE=partition" && 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 [ ! -r "$_path_s" ] && continue


# inactive ? # inactive ?