403Webshell
Server IP : 88.99.149.37  /  Your IP : 216.73.216.141
Web Server : nginx/1.31.2
System : Linux server-88-99-149-37 6.12.0-124.56.5.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 06:12:08 EDT 2026 x86_64
User : muralimurth ( 1015)
PHP Version : 8.4.23
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/root/usr/lib/dracut/modules.d/01systemd-tmpfiles/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/usr/lib/dracut/modules.d/01systemd-tmpfiles/module-setup.sh
#!/usr/bin/bash
# This file is part of dracut.
# SPDX-License-Identifier: GPL-2.0-or-later

# Prerequisite check(s) for module.
check() {
    # If the binary(s) requirements are not fulfilled the module can't be installed.
    require_binaries systemd-tmpfiles || return 1

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

# Install the required file(s) and directories for the module in the initramfs.
install() {
    # Excluding "$tmpfilesdir/home.conf", sets up /home /srv
    # Excluding "$tmpfilesdir/journal-nocow.conf", requires specific btrfs setup
    # Excluding "$tmpfilesdir/legacy.conf", belongs in separated legacy module
    # Excluding "$tmpfilesdir/systemd-nologin.conf", belongs in separated pam module
    # Excluding "$tmpfilesdir/systemd-nspawn.conf", belongs in separated machined module
    # Excluding "$tmpfilesdir/x11.conf", belongs in separated x11 module

    inst_multiple -o \
        /usr/lib/group \
        /usr/lib/passwd \
        "$tmpfilesdir/etc.conf" \
        "$tmpfilesdir/static-nodes-permissions.conf" \
        "$tmpfilesdir/systemd-tmp.conf" \
        "$tmpfilesdir/systemd.conf" \
        "$tmpfilesdir/20-systemd-stub.conf" \
        "$tmpfilesdir/var.conf" \
        "$systemdsystemunitdir"/systemd-tmpfiles-clean.service \
        "$systemdsystemunitdir/systemd-tmpfiles-clean.service.d/*.conf" \
        "$systemdsystemunitdir"/systemd-tmpfiles-setup.service \
        "$systemdsystemunitdir/systemd-tmpfiles-setup.service.d/*.conf" \
        "$systemdsystemunitdir"/systemd-tmpfiles-setup-dev.service \
        "$systemdsystemunitdir/systemd-tmpfiles-setup-dev.service.d/*.conf" \
        "$systemdsystemunitdir"/systemd-tmpfiles-setup-dev-early.service \
        "$systemdsystemunitdir/systemd-tmpfiles-setup-dev-early.service.d/*.conf" \
        "$systemdsystemunitdir"/sysinit.target.wants/systemd-tmpfiles-setup.service \
        "$systemdsystemunitdir"/sysinit.target.wants/systemd-tmpfiles-setup-dev.service \
        "$systemdsystemunitdir"/sysinit.target.wants/systemd-tmpfiles-setup-dev-early.service \
        systemd-tmpfiles

    # Install the hosts local user configurations if enabled.
    if [[ $hostonly ]]; then
        inst_multiple -H -o \
            "$tmpfilesconfdir/*.conf" \
            "$systemdsystemconfdir"/systemd-tmpfiles-clean.service \
            "$systemdsystemconfdir/systemd-tmpfiles-clean.service.d/*.conf" \
            "$systemdsystemconfdir"/systemd-tmpfiles-setup.service \
            "$systemdsystemconfdir/systemd-tmpfiles-setup.service.d/*.conf" \
            "$systemdsystemconfdir"/systemd-tmpfiles-setup-dev.service \
            "$systemdsystemconfdir/systemd-tmpfiles-setup-dev.service.d/*.conf" \
            "$systemdsystemconfdir"/systemd-tmpfiles-setup-dev-early.service \
            "$systemdsystemconfdir/systemd-tmpfiles-setup-dev-early.service.d/*.conf"
    fi
}

Youez - 2016 - github.com/yon3zu
LinuXploit