403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/13386/root/usr/libexec/webmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/13386/root/usr/libexec/webmin/webmin-caldera-init
#!/bin/sh
# webmin	This shell script takes care of starting and stopping
#		webmin
#

# Source function library.
. /etc/rc.d/init.d/functions

NAME=miniserv
DAEMON=/usr/libexec/webmin/miniserv.pl

# Source networking configuration.
. /etc/sysconfig/network

# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0

# check if the webmin conf file is present
[ -f /etc/webmin/miniserv.conf ] || exit 0

case "$1" in
start)
    [ ! -e $SVIlock ] || exit 1
    if [ -f /etc/webmin/miniserv.conf ]; then
	echo -n "Starting $IDENT: "
	ssd -S -n $NAME -x $DAEMON -- /etc/webmin/miniserv.conf 2>&1 >/dev/null
        touch $SVIlock
        echo "."
    else
	echo "$NAME not configured (in /etc/webmin/miniserv.conf): Skipped!"
    fi
    ;;

stop)
    [ -e $SVIlock ] || exit 0
    echo -n "Stopping $IDENT: "
    ssd -K -p /var/run/miniserv.pid >/dev/null 2>&1 && echo -n "miniserv"
    rm -f $SVIlock
    echo "."
    ;;

*)
    echo "Usage: $0 {start|stop}"
    exit 1
esac

exit 0


Youez - 2016 - github.com/yon3zu
LinuXploit