2003-07-30 14:01:26 +02:00
|
|
|
#!@RCD_SCRIPTS_SHELL@
|
2001-08-28 15:23:06 +02:00
|
|
|
#
|
2003-07-30 14:01:26 +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"
|
2003-07-30 14:01:26 +02:00
|
|
|
required_files="@PKG_SYSCONFDIR@/dynip.cfg"
|
2001-08-28 15:23:06 +02:00
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|