mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
a7706ec00c
- USE_RC_SUBR= yes --> USE_RC_SUBR= ${PORTNAME}.sh - move files/dictd.sh --> files/dictd.sh.in - default to NO for dictd_enable - Move pkg-message to files/pkg-message.in and print local path to net/dictd-database PR: ports/91505 Submitted by: Ion-Mihai "IOnut" Tetcu <itetcu@gmail.com> Reviewed by: maintainer timeout
22 lines
392 B
Bash
22 lines
392 B
Bash
#!/bin/sh
|
|
# $FreeBSD: /tmp/pcvs/ports/net/dictd/files/Attic/dictd.sh.in,v 1.1 2006-04-14 06:10:26 edwin Exp $
|
|
#
|
|
# PROVIDE: dictd
|
|
# REQUIRE: DAEMON
|
|
#
|
|
# Add the following line to /etc/rc.conf[.local] to enable dictd:
|
|
#
|
|
# dictd_enable="YES"
|
|
#
|
|
|
|
dictd_enable=${dictd_enable-"NO"}
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name=dictd
|
|
rcvar=`set_rcvar`
|
|
command=%%PREFIX%%/sbin/dictd
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|