freebsd-ports/net/dictd/files/dictd.sh.in
Edwin Groothuis a7706ec00c [PATCH] net/dictd: convert to USE_RC_SUBR=dictd.sh and small fixes
- 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
2006-04-14 06:10:26 +00:00

21 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"