__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
_offroot=$(strstr "$(mdadm --help-options 2>&1)" offroot && echo --offroot)
containers=""
for md in /dev/md[0-9_]*; do
[ -b "$md" ] || continue
udevinfo="$(udevadm info --query=env --name=$md)"
strstr "$udevinfo" "DEVTYPE=partition" && continue
if strstr "$udevinfo" "MD_LEVEL=container"; then
containers="$containers $md"
continue
fi
mdadm $_offroot -S "$md" >/dev/null 2>&1
done
for md in $containers; do
mdadm $_offroot -S "$md" >/dev/null 2>&1
done
unset containers udevinfo _offroot
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 59-persistent-storage-md.rules | File | 843 B | 0644 |
|
| 65-md-incremental-imsm.rules | File | 1.44 KB | 0644 |
|
| md-noddf.sh | File | 197 B | 0755 |
|
| md-noimsm.sh | File | 199 B | 0755 |
|
| md-shutdown.sh | File | 672 B | 0755 |
|
| mdmon-pre-shutdown.sh | File | 338 B | 0755 |
|
| mdmon-pre-udev.sh | File | 240 B | 0755 |
|
| mdraid-cleanup.sh | File | 708 B | 0755 |
|
| mdraid-needshutdown.sh | File | 265 B | 0755 |
|
| mdraid-waitclean.sh | File | 910 B | 0755 |
|
| mdraid_start.sh | File | 1.91 KB | 0755 |
|
| module-setup.sh | File | 3.99 KB | 0755 |
|
| parse-md.sh | File | 2.12 KB | 0755 |
|