AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 3.145.110.145


Current Path : /usr/share/finalrd/
Upload File :
Current File : //usr/share/finalrd/mdadm.finalrd

#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-only
set -e

if [ "$1" = "setup" ]
then
    . /usr/share/initramfs-tools/hook-functions
    copy_exec /sbin/mdadm
    copy_exec /sbin/mdmon

    exit 0
fi

mdmon --all --takeover
mdadm -vv --wait-clean --scan
mdadm -vv --stop --scan