X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=blobdiff_plain;f=components%2F9990-misc-helpers.sh;h=1267a6709080bf4e1bafa91246480e51490c1c78;hp=85513857d0e7353dd670bc55d7c3fea0f3655d5a;hb=a70800ee4b64f8566344587935642d55feb51777;hpb=275828e2d9d9c2b83eae94544e4d43d2027702e0 diff --git a/components/9990-misc-helpers.sh b/components/9990-misc-helpers.sh index 8551385..1267a67 100755 --- a/components/9990-misc-helpers.sh +++ b/components/9990-misc-helpers.sh @@ -251,12 +251,13 @@ check_dev () /dev/md*) # Adding raid support - if [ -x /scripts/local-top/mdadm ] + if [ -x /scripts/local-block/mdadm ] then - [ -r /conf/conf.d/md ] && cp /conf/conf.d/md /conf/conf.d/md.orig - echo "MD_DEVS=$device " >> /conf/conf.d/md - /scripts/local-top/mdadm >>/boot.log - [ -r /conf/conf.d/md.orig ] && mv /conf/conf.d/md.orig /conf/conf.d/md + # Back in the day, when there was still a local-top mdadm script, we + # used to select specific devices to be auto-assembled. + # This functionality was dropped in the local-block script, so just + # scan and assemble all RAID devices. + /scripts/local-block/mdadm >>/boot.log fi ;; esac