pkgsrc-wip/portmap/files/portmap.sh
Jeremy C. Reed 8954eae73f Add rc.d script for portmap. (Based on NetBSD's rc.d/rpcbind.)
(Still need to figure out pid file for portmapper.)
2004-01-04 02:34:04 +00:00

17 lines
311 B
Bash
Executable file

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: portmap.sh,v 1.1 2004/01/04 02:34:04 jeremy-c-reed Exp $
#
# PROVIDE: portmap
# REQUIRE: NETWORKING ntpdate syslogd named ppp
. /etc/rc.subr
name="portmap"
rcvar=$name
command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"
load_rc_config $name
run_rc_command "$1"