Sindbad~EG File Manager

Current Path : /proc/thread-self/root/usr/lib/dracut/modules.d/99base/
Upload File :
Current File : //proc/thread-self/root/usr/lib/dracut/modules.d/99base/loginit.sh

#!/bin/sh

# turn off debugging
set +x

QUIET=$1

printf -- "$$" > /run/initramfs/loginit.pid

[ -e /dev/kmsg ] && exec 5>/dev/kmsg || exec 5>/dev/null
exec 6>/run/initramfs/init.log

while read line || [ -n "$line" ]; do
    if [ "$line" = "DRACUT_LOG_END" ]; then
        rm -f -- /run/initramfs/loginit.pipe
        exit 0
    fi
    echo "<31>dracut: $line" >&5
    # if "quiet" is specified we output to /dev/console
    [ -n "$QUIET" ] || echo "dracut: $line"
    echo "$line" >&6
done

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists