xref: /freebsd/libexec/rc/rc.d/inetd (revision e8d8bef961a50d4dc22501cde4fb9fb0be1b2532)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6# PROVIDE: inetd
7# REQUIRE: DAEMON LOGIN FILESYSTEMS
8# KEYWORD: shutdown
9
10. /etc/rc.subr
11
12name="inetd"
13desc="Internet \"super-server\""
14rcvar="inetd_enable"
15command="/usr/sbin/${name}"
16pidfile="/var/run/${name}.pid"
17required_files="/etc/${name}.conf"
18extra_commands="reload"
19
20load_rc_config $name
21run_rc_command "$1"
22