mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 15:10:35 -04:00
31 lines
588 B
Bash
31 lines
588 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD: /tmp/pcvs/ports/net/openospfd-devel/files/Attic/openospfd.sh.in,v 1.1 2006-03-20 10:41:04 flz Exp $
|
|
#
|
|
|
|
# PROVIDE: ospfd
|
|
# REQUIRE: LOGIN abi
|
|
# BEFORE: securelevel
|
|
# KEYWORD: shutdown
|
|
|
|
# Add the following line to /etc/rc.conf to enable `openospfd':
|
|
#
|
|
# openospfd_enable="YES"
|
|
#
|
|
# See ospfd(8) for openospfd_flags
|
|
#
|
|
|
|
. "%%RC_SUBR%%"
|
|
|
|
name="openospfd"
|
|
rcvar=`set_rcvar`
|
|
|
|
extra_commands="reload"
|
|
command="%%PREFIX%%/sbin/ospfd"
|
|
required_files="%%PREFIX%%/etc/ospfd.conf"
|
|
|
|
load_rc_config "$name"
|
|
: ${openospfd_enable="NO"}
|
|
: ${openospfd_flags=""}
|
|
|
|
run_rc_command "$1"
|