]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Fix missing shell variables.
authorPeter Jones <pjones@redhat.com>
Wed, 25 Nov 2009 16:06:35 +0000 (11:06 -0500)
committerPeter Jones <pjones@redhat.com>
Wed, 25 Nov 2009 16:06:35 +0000 (11:06 -0500)
Somehow copy+paste from one machine to the other removed all the shell
variables from this line.  Oops.

modules.d/90multipath/14-multipath-scan.rules

index b4acf57c5eab43c3d494fa82f263f519e567ce95..8732c2b8310c5301a7846f6d97dca4ec45473fa4 100644 (file)
@@ -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"