MOON
Server: Apache
System: Linux s5.yayogua.com.py 6.12.0-124.55.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:54:02 EDT 2026 x86_64
User: sanbercountryclu (1012)
PHP: 8.2.33
Disabled: NONE
Upload Files
File: //usr/lib/dracut/modules.d/01systemd-initrd/module-setup.sh
#!/usr/bin/bash

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

    # Return 255 to only include the module, if another module requires it.
    return 255
}

# called by dracut
depends() {
    echo systemd-udevd systemd-journald systemd-tmpfiles
}

# called by dracut
install() {
    # The existence of this file is required
    if ! [[ -e "$initdir/etc/initrd-release" ]]; then
        : > "$initdir/etc/initrd-release"
    fi

    inst_multiple -o \
        "$systemdsystemunitdir"/initrd.target \
        "$systemdsystemunitdir"/initrd-fs.target \
        "$systemdsystemunitdir"/initrd-root-device.target \
        "$systemdsystemunitdir"/initrd-root-fs.target \
        "$systemdsystemunitdir"/initrd-usr-fs.target \
        "$systemdsystemunitdir"/initrd-switch-root.target \
        "$systemdsystemunitdir"/initrd-switch-root.service \
        "$systemdsystemunitdir"/initrd-cleanup.service \
        "$systemdsystemunitdir"/initrd-udevadm-cleanup-db.service \
        "$systemdsystemunitdir"/initrd-parse-etc.service
}