summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/inetd
blob: 08b34385676e7e12c29fc92e058d28ce8c02c04b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
#
# $NetBSD: inetd,v 1.6 2000/09/19 13:04:38 lukem Exp $
# $FreeBSD$
#

# PROVIDE: inetd
# REQUIRE: DAEMON LOGIN
# KEYWORD: FreeBSD NetBSD shutdown

. /etc/rc.subr

name="inetd"
rcvar=`set_rcvar`
command="/usr/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="/etc/${name}.conf"
extra_commands="reload"

load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud