e11ed225bf
- Install configuration file in the examples directory. - Copy configuration file in PKG_SYSCONFDIR. - Honour PKG_SYSCONFDIR. - Use RCD_SCRIPTS to handle the rc.d script. Regen distinfo; the directory where files extract has changed. Use buildlink2. Bump PKGREVISION to 1.
17 lines
327 B
Bash
Executable file
17 lines
327 B
Bash
Executable file
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $NetBSD: dynipclient.sh,v 1.3 2003/07/30 12:01:26 jmmv Exp $
|
|
#
|
|
# PROVIDE: dynipclient
|
|
# REQUIRE: NETWORK
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="dynipclient"
|
|
rcvar=$name
|
|
command="@PREFIX@/bin/${name}"
|
|
pidfile="/var/run/${name}.pid"
|
|
required_files="@PKG_SYSCONFDIR@/dynip.cfg"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|