2000-03-10 14:53:23 +03:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2004-08-13 22:08:03 +04:00
|
|
|
# $NetBSD: inetd,v 1.7 2004/08/13 18:08:03 mycroft Exp $
|
2000-03-10 14:53:23 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: inetd
|
2000-03-13 07:03:52 +03:00
|
|
|
# REQUIRE: DAEMON LOGIN
|
2000-07-17 19:24:48 +04:00
|
|
|
# KEYWORD: shutdown
|
2000-03-10 14:53:23 +03:00
|
|
|
|
2004-08-13 22:08:03 +04:00
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
2000-03-10 14:53:23 +03:00
|
|
|
|
|
|
|
name="inetd"
|
2000-09-19 17:04:38 +04:00
|
|
|
rcvar=$name
|
2000-03-10 14:53:23 +03:00
|
|
|
command="/usr/sbin/${name}"
|
|
|
|
pidfile="/var/run/${name}.pid"
|
|
|
|
required_files="/etc/${name}.conf"
|
2000-04-30 17:23:04 +04:00
|
|
|
extra_commands="reload"
|
2000-03-10 14:53:23 +03:00
|
|
|
|
2000-05-13 12:45:06 +04:00
|
|
|
load_rc_config $name
|
2000-04-30 17:23:04 +04:00
|
|
|
run_rc_command "$1"
|