summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2009-11-25 11:06:35 -0500
committerPeter Jones <pjones@redhat.com>2009-11-25 11:06:35 -0500
commit01ba5f21925b3f77e15266447a4f828d942970b0 (patch)
tree5fbec829cd5b50c057c657126abc29d12bbd3b7c
parentb869710aff869d949a7d23be298aefbcbab82eb0 (diff)
Fix missing shell variables.
Somehow copy+paste from one machine to the other removed all the shell variables from this line. Oops.
-rw-r--r--modules.d/90multipath/14-multipath-scan.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/90multipath/14-multipath-scan.rules b/modules.d/90multipath/14-multipath-scan.rules
index b4acf57..8732c2b 100644
--- a/modules.d/90multipath/14-multipath-scan.rules
+++ b/modules.d/90multipath/14-multipath-scan.rules
@@ -1,7 +1,7 @@
# scan for multipath devices
SUBSYSTEM!="block", GOTO="end_mpath_scan"
KERNEL!="sd*", GOTO="end_mpath_scan"
-PROGRAM=="/bin/sh -c 'for i in //holders/dm-[0-9]*; do [ -e $$i ] && exit 0; done; exit 1;' ", GOTO="end_mpath_scan"
+PROGRAM=="/bin/sh -c 'for i in $sys/$devpath/holders/dm-[0-9]*; do [ -e $$i ] && exit 0; done; exit 1;' ", GOTO="end_mpath_scan"
RUN+="/sbin/modprobe dm-multipath"
RUN+="/bin/echo 'queuing multipath scan'"
RUN+="/sbin/initqueue --settled --onetime --unique --name=mpscan /sbin/multipath-scan"