404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.141.200.103: ~ $
#!/bin/bash

# called by dracut
check() {
    [[ $mount_needs ]] && return 1

    if ! dracut_module_included "systemd-initrd"; then
        derror "dracut-systemd needs systemd-initrd in the initramfs"
        return 1
    fi

    return 0
}

# called by dracut
depends() {
    echo "systemd-initrd"
    return 0
}

installkernel() {
    return 0
}

# called by dracut
install() {
    local _mods
    inst_script "$moddir/dracut-emergency.sh" /bin/dracut-emergency
    inst_simple "$moddir/emergency.service" ${systemdsystemunitdir}/emergency.service
    inst_simple "$moddir/dracut-emergency.service" ${systemdsystemunitdir}/dracut-emergency.service
    inst_simple "$moddir/emergency.service" ${systemdsystemunitdir}/rescue.service

    ln_r "${systemdsystemunitdir}/initrd.target" "${systemdsystemunitdir}/default.target"

    inst_script "$moddir/dracut-cmdline.sh" /bin/dracut-cmdline
    inst_script "$moddir/dracut-cmdline-ask.sh" /bin/dracut-cmdline-ask
    inst_script "$moddir/dracut-pre-udev.sh" /bin/dracut-pre-udev
    inst_script "$moddir/dracut-pre-trigger.sh" /bin/dracut-pre-trigger
    inst_script "$moddir/dracut-initqueue.sh" /bin/dracut-initqueue
    inst_script "$moddir/dracut-pre-mount.sh" /bin/dracut-pre-mount
    inst_script "$moddir/dracut-mount.sh" /bin/dracut-mount
    inst_script "$moddir/dracut-pre-pivot.sh" /bin/dracut-pre-pivot

    inst_script "$moddir/rootfs-generator.sh" $systemdutildir/system-generators/dracut-rootfs-generator

    mkdir -p "${initdir}/$systemdsystemunitdir/initrd.target.wants"
    for i in \
        dracut-cmdline.service \
        dracut-cmdline-ask.service \
        dracut-initqueue.service \
        dracut-mount.service \
        dracut-pre-mount.service \
        dracut-pre-pivot.service \
        dracut-pre-trigger.service \
        dracut-pre-udev.service \
        ; do
        inst_simple "$moddir/${i}" "$systemdsystemunitdir/${i}"
        systemctl -q --root "$initdir" add-wants initrd.target "$i"
    done

    inst_simple "$moddir/dracut-tmpfiles.conf" "$tmpfilesdir/dracut-tmpfiles.conf"
}


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