%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /backups/router/usr/local/etc/rc.d/
Upload File :
Create Path :
Current File : //backups/router/usr/local/etc/rc.d/radvd

#!/bin/sh

# PROVIDE: radvd
# REQUIRE: NETWORKING

#
# Add the following line to /etc/rc.conf to enable radvd:
#
# radvd_enable="YES"
#

. /etc/rc.subr

name=radvd
rcvar=radvd_enable

pidfile=/var/run/${name}.pid
command="/usr/local/sbin/${name}"

load_rc_config $name
: ${radvd_enable="NO"}
: ${radvd_config="/usr/local/etc/${name}.conf"}

required_files="${radvd_config}"

command_args="-p ${pidfile} -C ${radvd_config}"

run_rc_command "$1"

Zerion Mini Shell 1.0