]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
removed bash check from md incremental rules
authorHarald Hoyer <harald@redhat.com>
Mon, 13 Jul 2009 09:55:47 +0000 (11:55 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 13 Jul 2009 10:10:46 +0000 (12:10 +0200)
modules.d/90mdraid/65-md-incremental.rules

index 3dec8dfed16450137be8a370c432d312d72efd42..83b49476cac76f148c1d9a3d4fa8dc6e89542ff2 100644 (file)
@@ -4,5 +4,5 @@
 
 SUBSYSTEM=="block", ACTION=="add", ENV{ID_FS_TYPE}=="linux_raid_member", \
        IMPORT{program}="/sbin/mdadm --examine --export $tempnode", \
-       RUN+="/bin/bash -c '[ ! -f /dev/.in_sysinit ] && /sbin/mdadm -I $env{DEVNAME}'"
+       RUN+="/sbin/mdadm -I $env{DEVNAME}'"