diff options
author | martin f. krafft <madduck@debian.org> | 2009-03-17 13:59:38 +0100 |
---|---|---|
committer | martin f. krafft <madduck@debian.org> | 2009-04-27 10:02:58 +0200 |
commit | d50915a53bcc1dd036e112d5396cbd226c94a7ad (patch) | |
tree | 51352fbcdbf8ef71b29410b112ed755a1fb93eb5 /debian/mdadm.postinst | |
parent | 49cb52254ed79d5d6b1550613417520297c0fbf6 (diff) |
No longer pass -k to modprobe,
-k has has been deprecated for a long time; thanks to Jan Hudec
Debian bug: #519999
Signed-off-by: martin f. krafft <madduck@debian.org>
Diffstat (limited to 'debian/mdadm.postinst')
-rw-r--r-- | debian/mdadm.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/mdadm.postinst b/debian/mdadm.postinst index acd03a66..63a41792 100644 --- a/debian/mdadm.postinst +++ b/debian/mdadm.postinst @@ -12,7 +12,7 @@ case "${1:-}" in configure|reconfigure) if [ ! -f /proc/mdstat ] && [ -x $(command -v modprobe 2>/dev/null) ]; then - modprobe -k md >/dev/null 2>&1 || : + modprobe md >/dev/null 2>&1 || : fi if [ ! -f /proc/mdstat ]; then echo 'W: mdadm: failed to load MD subsystem.' >&2 |