1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/net/radvd/files/radvd.in
Andrew Pantyukhin d14aab6936 - Update to 0.9.1
- RC'ify
- Take maintainership

PR:		ports/95889
Submitted by:	me
Approved by:	krion (mentor)
2006-05-08 07:55:34 +00:00

26 lines
400 B
Bash

#!/bin/sh
# PROVIDE: radvd
# REQUIRE: NETWORKING
#
# Add the following line to /etc/rc.conf to enable radvd:
#
# radvd_enable="YES"
#
. %%RC_SUBR%%
name=radvd
rcvar=`set_rcvar`
prefix=%%PREFIX%%
pidfile=/var/run/${name}.pid
command="${prefix}/sbin/${name}"
command_args="-p ${pidfile}"
required_files="${prefix}/etc/${name}.conf"
load_rc_config $name
: ${radvd_enable="NO"}
run_rc_command "$1"