diff options
author | Harald Hoyer <harald@redhat.com> | 2011-04-12 08:43:10 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2011-04-12 08:45:31 +0200 |
commit | 2a9b703903afac6fb9075de06ddc009b286d9061 (patch) | |
tree | 438bb457de1eb877170ce6f0e9e0627157874288 /modules.d/90mdraid | |
parent | 65e0dd452cf4236c878fdf7c9dd1f6ad4c71d7f1 (diff) | |
download | dracut-2a9b703903afac6fb9075de06ddc009b286d9061.tar.gz dracut-2a9b703903afac6fb9075de06ddc009b286d9061.tar.bz2 dracut-2a9b703903afac6fb9075de06ddc009b286d9061.zip |
set udev property hookdir
Revert "mdraid/65-md-incremental-imsm.rules: s#$hookdir#/lib/dracut/hooks/"
This reverts commit e1f68dc6a0c987e27b992d393c1d3e54ca0783a8.
Diffstat (limited to 'modules.d/90mdraid')
-rw-r--r-- | modules.d/90mdraid/65-md-incremental-imsm.rules | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules.d/90mdraid/65-md-incremental-imsm.rules b/modules.d/90mdraid/65-md-incremental-imsm.rules index 47110d18..521a7e11 100644 --- a/modules.d/90mdraid/65-md-incremental-imsm.rules +++ b/modules.d/90mdraid/65-md-incremental-imsm.rules @@ -28,7 +28,7 @@ LABEL="do_md_inc" # ENV{rd_MDADMCONF}!="?*", GOTO="md_auto_end" -RUN+="/bin/sh -c 'ln -s /sbin/md_finished.sh /lib/dracut/hooks/initqueue/finished/md_finished.sh;/sbin/initqueue --settled --onetime --unique /sbin/mdadm_auto'" +RUN+="/bin/sh -c 'ln -s /sbin/md_finished.sh $hookdir/initqueue/finished/md_finished.sh;/sbin/initqueue --settled --onetime --unique /sbin/mdadm_auto'" GOTO="md_inc_end" @@ -39,7 +39,7 @@ LABEL="md_auto_end" # RUN+="/sbin/mdadm -I $env{DEVNAME}" -RUN+="/bin/ln -s /sbin/md_finished.sh /lib/dracut/hooks/initqueue/finished/md_finished.sh" +RUN+="/bin/ln -s /sbin/md_finished.sh $hookdir/initqueue/finished/md_finished.sh" LABEL="md_inc_end" @@ -61,7 +61,7 @@ LABEL="do_raidstart" # check if array is not inactive anymore TEST=="md/array_state", ATTR{md/array_state}!="|inactive", GOTO="end_raidstart" -RUN+="/bin/sh -c 'ln -s /sbin/md_finished.sh /lib/dracut/hooks/initqueue/finished/md_finished.sh;/sbin/initqueue --settled --onetime --unique /sbin/mdraid_start'" +RUN+="/bin/sh -c 'ln -s /sbin/md_finished.sh $hookdir/initqueue/finished/md_finished.sh;/sbin/initqueue --settled --onetime --unique /sbin/mdraid_start'" LABEL="end_raidstart" @@ -80,6 +80,6 @@ GOTO="end_container" LABEL="do_container" -RUN+="/bin/sh -c 'ln -s /sbin/md_finished.sh /lib/dracut/hooks/initqueue/finished/md_finished.sh;/sbin/initqueue --settled --onetime --unique --name mdcontainer_start-%k /sbin/mdcontainer_start $env{DEVNAME}'" +RUN+="/bin/sh -c 'ln -s /sbin/md_finished.sh $hookdir/initqueue/finished/md_finished.sh;/sbin/initqueue --settled --onetime --unique --name mdcontainer_start-%k /sbin/mdcontainer_start $env{DEVNAME}'" LABEL="end_container" |