mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
8ee821f5cf
some dracd_xxx variables already defined in rc.conf) - Add new FTP mirror, since mirrors for this are few - Remove pkg-message; that notice has been around long enough :) - Grammatical fixes/wording in pkg-descr - Take over as maintainer of this port PR: ports/105722 Reviewed by: philip Approved by: philip
30 lines
567 B
Bash
30 lines
567 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
#
|
|
# PROVIDE: dracd
|
|
# REQUIRE: DAEMON
|
|
# BEFORE: LOGIN
|
|
# KEYWORD: shutdown
|
|
#
|
|
# Add the following lines to /etc/rc.conf to enable postfix:
|
|
# dracd_enable (bool): Set it to "YES" to enable rpc.dracd.
|
|
# Default is "NO".
|
|
# dracd_flags (str): Set to "" by default.
|
|
# Extra flags passed to rpc.dracd.
|
|
#
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name="dracd"
|
|
rcvar=`set_rcvar`
|
|
command="%%PREFIX%%/sbin/rpc.dracd"
|
|
|
|
load_rc_config $name
|
|
|
|
: ${dracd_enable="NO"}
|
|
: ${dracd_flags=""}
|
|
|
|
required_files="%%PREFIX%%/etc/dracd.allow"
|
|
|
|
run_rc_command "$1"
|