82499e1ce2
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.
17 lines
302 B
Bash
Executable file
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"
|