pkgsrc-wip/netkit-base/files/inetd.sh
Jeremy C. Reed 82499e1ce2 Get rid of dynamic DESCR.
Add rc.d script for inetd.
Add example inetd.conf.
Add new patch and improve patch-aa so it will not hardcode paths.
Regenerate distinfo.
Add note to TODO.
Fix install and PLIST for examples to go into examples directory.
USE PKGBASE instead of netkit-base in Makefile and in PLIST.
2003-12-18 03:03:50 +00:00

17 lines
302 B
Bash
Executable file

#!@RCD_SCRIPTS_SHELL@
# PROVIDE: inetd
# REQUIRE: DAEMON LOGIN
# KEYWORD: shutdown
. /etc/rc.subr
name="inetd"
rcvar=$name
command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="@PKG_SYSCONFDIR@/${name}.conf"
extra_commands="reload"
load_rc_config $name
run_rc_command "$1"