diff options
Diffstat (limited to 'main/mdadm/mdadm-raid.initd')
-rw-r--r-- | main/mdadm/mdadm-raid.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/mdadm/mdadm-raid.initd b/main/mdadm/mdadm-raid.initd index 2c0b4536b9..368860ae01 100644 --- a/main/mdadm/mdadm-raid.initd +++ b/main/mdadm/mdadm-raid.initd @@ -13,7 +13,7 @@ array_devices() { start() { [ -f /etc/mdadm.conf ] || return 0 # start all devices that are not already started - [ -f /proc/mdstat ] || modprobe -k md > /dev/null 2>&1 + [ -f /proc/mdstat ] || modprobe md > /dev/null 2>&1 local tostart= for i in $(array_devices); do [ -b "$i" ] && continue @@ -23,7 +23,7 @@ start() { ebegin "Starting RAID devices" mdadm --assemble --scan --quiet $tostart - eend $? + eend $? } is_mounted_as() { |