diff options
author | Thomas Backlund <tmb@mageia.org> | 2012-03-11 22:43:59 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2012-03-11 23:02:33 +0000 |
commit | 3b975571876b0113542a8932b42bcb683567474d (patch) | |
tree | 52d8cacabcb5fb4fd191b686b1aac8ed74da7f19 /systemd/fedora-storage-init | |
parent | d26713c9fc8e91c27e6a2c6ee6ac22cfd036310d (diff) | |
download | initscripts-3b975571876b0113542a8932b42bcb683567474d.tar initscripts-3b975571876b0113542a8932b42bcb683567474d.tar.gz initscripts-3b975571876b0113542a8932b42bcb683567474d.tar.bz2 initscripts-3b975571876b0113542a8932b42bcb683567474d.tar.xz initscripts-3b975571876b0113542a8932b42bcb683567474d.zip |
Correct path to mdadm map file.
Mageia (since mdv days) stores the mdadm map in different place than Fedora.
Reference: https://bugs.mageia.org/show_bug.cgi?id=4875
Signed-off-by: Thomas Backlund <tmb@mageia.org>
systemd/fedora-storage-init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Diffstat (limited to 'systemd/fedora-storage-init')
-rwxr-xr-x | systemd/fedora-storage-init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/fedora-storage-init b/systemd/fedora-storage-init index 66ba6a82..46d8bfb3 100755 --- a/systemd/fedora-storage-init +++ b/systemd/fedora-storage-init @@ -31,7 +31,7 @@ if ! strstr "$cmdline" nodmraid && [ -x /sbin/dmraid ]; then fi # Start any MD RAID arrays that haven't been started yet -[ -r /proc/mdstat ] && [ -r /dev/md/md-device-map ] && /sbin/mdadm -IRs +[ -r /proc/mdstat ] && [ -r /dev/.mdadm/map ] && /sbin/mdadm -IRs if [ -x /sbin/lvm ]; then action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a y --sysinit |