mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
waitdrives: remove mdadm assemble scan.
this is not needed after fix the mdadm initskript.
This commit is contained in:
@@ -26,11 +26,6 @@ check_drives () {
|
|||||||
|
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
start)
|
start)
|
||||||
if [ -e /sbin/mdadm ]; then
|
|
||||||
boot_mesg "Assemble mdadm managed raid-drives ..."
|
|
||||||
mdadm --assemble --scan
|
|
||||||
fi
|
|
||||||
|
|
||||||
drives=`grep "^UUID=" /etc/fstab | cut -f1 | cut -d" " -f1 | cut -d"=" -f2`;
|
drives=`grep "^UUID=" /etc/fstab | cut -f1 | cut -d" " -f1 | cut -d"=" -f2`;
|
||||||
|
|
||||||
check_drives;
|
check_drives;
|
||||||
|
|||||||
Reference in New Issue
Block a user