diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-09-25 15:23:55 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-09-25 15:23:55 +0200 |
commit | 35c1a02fbdc225b2350f9b0feb818b8517c8b398 (patch) | |
tree | 37d731993fd2fd67cb55b0f2dc26e328adcd2cfa /main/mdadm/mdadm-raid.initd | |
parent | 179972ae10c54ab692d4766fb609b4af64257ad2 (diff) | |
download | aports-35c1a02fbdc225b2350f9b0feb818b8517c8b398.tar.bz2 aports-35c1a02fbdc225b2350f9b0feb818b8517c8b398.tar.xz |
main/mdadm: remove -k option from modprobe
busybox does not support it
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() { |