The "--auto=yes --symlink=no" options shouldn't be relevant any
longer (symlink actually doesn't seem to do what it's supposed).
The "mdmonitor" service doesn't do what we thought it does,
so instead recommend usage of "mdadm --assemble --scan" instead.
Related to grml/grml#45
if ! checkbootparam 'swraid' ; then
eindent
if $SYSTEMD ; then
- einfo "Just run 'Start mdmonitor' to assemble md arrays or boot using 'swraid' as bootoption for autostart."
+ einfo "Just run 'mdadm --assemble --scan' to assemble md arrays or boot using 'swraid' as bootoption for autostart."
else
einfo "Just run 'Start mdadm-raid' to assemble md arrays or boot using 'swraid' as bootoption for autostart."
fi
eindent
IFSOLD=${IFS:-}
IFS=$'\n'
- for line in $(mdadm --assemble --scan --auto=yes --symlink=no 2>&1) ; do
+ for line in $(mdadm --assemble --scan 2>&1) ; do
case $line in
*'No arrays found'*)
ewarn "$line" ; eend 0