Browse Source

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

master
Harald Hoyer 14 years ago
parent
commit
e0e9221e23
  1. 2
      modules.d/90mdraid/mdraid_start.sh

2
modules.d/90mdraid/mdraid_start.sh

@ -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 ?

Loading…
Cancel
Save