Server : Apache System : Linux wealthytechsolutions.wealthytechsolutions.com 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : raybondt ( 1003) PHP Version : 8.3.31 Disable Function : exec,passthru,shell_exec,system Directory : /usr/lib/dracut/modules.d/99base/ |
#!/usr/bin/sh
# turn off debugging
set +x
QUIET=$1
printf "%s" "$$" > /run/initramfs/loginit.pid
# shellcheck disable=SC2015
[ -e /dev/kmsg ] && exec 5> /dev/kmsg || exec 5> /dev/null
exec 6> /run/initramfs/init.log
while read -r 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