pkgsrc/net/dynipclient/files/dynipclient.sh

18 lines
327 B
Bash
Raw Normal View History

#!@RCD_SCRIPTS_SHELL@
2001-08-28 15:23:06 +02:00
#
# $NetBSD: dynipclient.sh,v 1.3 2003/07/30 12:01:26 jmmv Exp $
2001-08-28 15:23:06 +02:00
#
# PROVIDE: dynipclient
# REQUIRE: NETWORK
. /etc/rc.subr
name="dynipclient"
rcvar=$name
2002-09-23 16:52:14 +02:00
command="@PREFIX@/bin/${name}"
2001-08-28 15:23:06 +02:00
pidfile="/var/run/${name}.pid"
required_files="@PKG_SYSCONFDIR@/dynip.cfg"
2001-08-28 15:23:06 +02:00
load_rc_config $name
run_rc_command "$1"