projects
/
grml-autoconfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update instructions for manual mdadm start, drop --auto=yes --symlink=no from swraid
[grml-autoconfig.git]
/
autoconfig.functions
diff --git
a/autoconfig.functions
b/autoconfig.functions
index
dc3e045
..
da09d89
100755
(executable)
--- a/
autoconfig.functions
+++ b/
autoconfig.functions
@@
-1589,7
+1589,7
@@
config_swraid(){
if ! checkbootparam 'swraid' ; then
eindent
if $SYSTEMD ; then
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
else
einfo "Just run 'Start mdadm-raid' to assemble md arrays or boot using 'swraid' as bootoption for autostart."
fi
@@
-1599,7
+1599,7
@@
config_swraid(){
eindent
IFSOLD=${IFS:-}
IFS=$'\n'
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
case $line in
*'No arrays found'*)
ewarn "$line" ; eend 0