[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.14.141.100: ~ $
#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

export DRACUT_SYSTEMD=1
if [ -f /dracut-state.sh ]; then
    . /dracut-state.sh 2>/dev/null
fi
type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh

source_conf /etc/conf.d

make_trace_mem "hook initqueue" '1:shortmem' '2+:mem' '3+:slab'
getarg 'rd.break=initqueue' -d 'rdbreak=initqueue' && emergency_shell -n initqueue "Break before initqueue"

RDRETRY=$(getarg rd.retry -d 'rd_retry=')
RDRETRY=${RDRETRY:-180}
RDRETRY=$(($RDRETRY*2))
export RDRETRY

main_loop=0
export main_loop

while :; do

    check_finished && break

    udevadm settle --exit-if-exists=$hookdir/initqueue/work

    check_finished && break

    if [ -f $hookdir/initqueue/work ]; then
        rm -f -- "$hookdir/initqueue/work"
    fi

    for job in $hookdir/initqueue/*.sh; do
        [ -e "$job" ] || break
        job=$job . $job
        check_finished && break 2
    done

    udevadm settle --timeout=0 >/dev/null 2>&1 || continue

    for job in $hookdir/initqueue/settled/*.sh; do
        [ -e "$job" ] || break
        job=$job . $job
        check_finished && break 2
    done

    udevadm settle --timeout=0 >/dev/null 2>&1 || continue

    # no more udev jobs and queues empty.
    sleep 0.5

    for i in /run/systemd/ask-password/ask.*; do
        [ -e "$i" ] && continue 2
    done

    if [ $main_loop -gt $((2*$RDRETRY/3)) ]; then
        warn "dracut-initqueue timeout - starting timeout scripts"
        for job in $hookdir/initqueue/timeout/*.sh; do
            [ -e "$job" ] || break
            job=$job . $job
            udevadm settle --timeout=0 >/dev/null 2>&1 || main_loop=0
            [ -f $hookdir/initqueue/work ] && main_loop=0
        done
    fi

    main_loop=$(($main_loop+1))
    if [ $main_loop -gt $RDRETRY ]; then
        if ! [ -f /sysroot/etc/fstab ] || ! [ -e /sysroot/sbin/init ] ; then
            action_on_fail "Could not boot." && break
        fi
        warn "Not all disks have been found."
        warn "You might want to regenerate your initramfs."
        break
    fi
done

unset job
unset queuetriggered
unset main_loop
unset RDRETRY

export -p > /dracut-state.sh

exit 0

Filemanager

Name Type Size Permission Actions
dracut-cmdline-ask.service File 978 B 0644
dracut-cmdline-ask.sh File 422 B 0755
dracut-cmdline.service File 1.13 KB 0644
dracut-cmdline.service.8 File 1.52 KB 0644
dracut-cmdline.service.8.asc File 442 B 0644
dracut-cmdline.sh File 2.65 KB 0755
dracut-emergency.service File 974 B 0644
dracut-emergency.sh File 1.31 KB 0755
dracut-initqueue.service File 1.37 KB 0644
dracut-initqueue.service.8 File 1.51 KB 0644
dracut-initqueue.service.8.asc File 439 B 0644
dracut-initqueue.sh File 2.17 KB 0755
dracut-mount.service File 1 KB 0644
dracut-mount.service.8 File 1.49 KB 0644
dracut-mount.service.8.asc File 416 B 0644
dracut-mount.sh File 1.14 KB 0755
dracut-pre-mount.service File 1.03 KB 0644
dracut-pre-mount.service.8 File 1.51 KB 0644
dracut-pre-mount.service.8.asc File 434 B 0644
dracut-pre-mount.sh File 622 B 0755
dracut-pre-pivot.service File 1.03 KB 0644
dracut-pre-pivot.service.8 File 1.5 KB 0644
dracut-pre-pivot.service.8.asc File 429 B 0644
dracut-pre-pivot.sh File 1.15 KB 0755
dracut-pre-trigger.service File 1.14 KB 0644
dracut-pre-trigger.service.8 File 1.51 KB 0644
dracut-pre-trigger.service.8.asc File 440 B 0644
dracut-pre-trigger.sh File 588 B 0755
dracut-pre-udev.service File 1.17 KB 0644
dracut-pre-udev.service.8 File 1.5 KB 0644
dracut-pre-udev.service.8.asc File 424 B 0644
dracut-pre-udev.sh File 1.49 KB 0755
dracut-shutdown.service File 677 B 0644
dracut-shutdown.service.8 File 3.52 KB 0644
dracut-shutdown.service.8.asc File 1.65 KB 0644
dracut-tmpfiles.conf File 135 B 0644
emergency.service File 980 B 0644
initrd.target File 247 B 0644
module-setup.sh File 9.99 KB 0755
rescue.service File 877 B 0644
rootfs-generator.sh File 3.61 KB 0755