pkgsrc/net/iplog/files/iplog.sh
jmmv 708b347f14 Convert to use the bsd.pkg.install.mk framework:
- Install sample file in the examples directory.
- Honour PKG_SYSCONFDIR properly.
- Use RCD_SCRIPTS to handle the rc.d script.
As a result, bump PKGREVISION to 2.
2003-07-30 15:41:51 +00:00

16 lines
271 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: iplog.sh,v 1.1 2003/07/30 15:41:54 jmmv Exp $
#
# PROVIDE: iplog
# REQUIRE: SERVERS
. /etc/rc.subr
name="iplog"
rcvar=${name}
command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"
load_rc_config ${name}
run_rc_command "$1"