%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/thread-self/root/proc/thread-self/root/lib/dracut/modules.d/90mdraid/
Upload File :
Create Path :
Current File : //proc/thread-self/root/proc/thread-self/root/lib/dracut/modules.d/90mdraid/mdmon-pre-shutdown.sh

#!/bin/sh

_do_mdmon_takeover() {
    local ret
    mdmon --takeover --all
    ret=$?
    [ $ret -eq 0 ] && info "Taking over mdmon processes."
    return $ret
}

if command -v mdmon >/dev/null; then
    _do_mdmon_takeover $1
fi

Zerion Mini Shell 1.0