1 diff -urN rc-scripts-0.3.1.org/rc.d/rc.sysinit rc-scripts-0.3.1/rc.d/rc.sysinit
2 --- rc-scripts-0.3.1.org/rc.d/rc.sysinit 2004-01-17 00:13:42.164355620 +0100
3 +++ rc-scripts-0.3.1/rc.d/rc.sysinit 2004-01-17 00:15:53.224091932 +0100
5 show "Starting up RAID device %s" $RAIDDEV
7 if [ -z "$RAIDSTAT" ]; then
8 - # Try raidstart first...if that fails then
9 + # Try mdadm, raidstart first...if that fails then
10 # fall back to raid0run and if that fails too
11 # fall back to raidadd, raidrun.
13 - if [ -x /sbin/raidstart ]; then
14 + if [ -x /sbin/mdadm ]; then
15 + /sbin/mdadm --assemble --scan
18 + if [ $RESULT -gt 0 -a -x /sbin/raidstart ]; then