xref: /freebsd/libexec/rc/rc.d/inetd (revision 3c4ba5f55438f7afd4f4b0b56f88f2bb505fd6a6)
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