404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.139.87.39: ~ $
#!/bin/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
            [ $main_loop -eq 0 ] && break
        done
    fi

    main_loop=$(($main_loop+1))
    if [ $main_loop -gt $RDRETRY ]; then
        if ! [ -f /sysroot/etc/fstab ] || ! [ -e /sysroot/sbin/init ] ; then
            emergency_shell "Could not boot."
        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 847 B 0644
dracut-cmdline-ask.sh File 418 B 0755
dracut-cmdline.service File 904 B 0644
dracut-cmdline.service.8 File 1.52 KB 0644
dracut-cmdline.service.8.asc File 442 B 0644
dracut-cmdline.sh File 2.59 KB 0755
dracut-emergency.service File 681 B 0644
dracut-emergency.sh File 1.35 KB 0755
dracut-initqueue.service File 821 B 0644
dracut-initqueue.service.8 File 1.51 KB 0644
dracut-initqueue.service.8.asc File 439 B 0644
dracut-initqueue.sh File 2.1 KB 0755
dracut-mount.service File 793 B 0644
dracut-mount.service.8 File 1.5 KB 0644
dracut-mount.service.8.asc File 416 B 0644
dracut-mount.sh File 1.03 KB 0755
dracut-pre-mount.service File 822 B 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 502 B 0755
dracut-pre-pivot.service File 1.1 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 895 B 0755
dracut-pre-trigger.service File 914 B 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 467 B 0755
dracut-pre-udev.service File 993 B 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.38 KB 0755
dracut-shutdown-onfailure.service File 309 B 0644
dracut-shutdown.service File 440 B 0644
dracut-shutdown.service.8 File 3.72 KB 0644
dracut-shutdown.service.8.asc File 1.84 KB 0644
dracut-tmpfiles.conf File 135 B 0644
emergency.service File 692 B 0644
module-setup.sh File 2.02 KB 0755
rootfs-generator.sh File 4.05 KB 0755