aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/inetd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rc/rc.d/inetd')
-rwxr-xr-xlibexec/rc/rc.d/inetd22
1 files changed, 22 insertions, 0 deletions
diff --git a/libexec/rc/rc.d/inetd b/libexec/rc/rc.d/inetd
new file mode 100755
index 000000000000..81cc18d95be2
--- /dev/null
+++ b/libexec/rc/rc.d/inetd
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+#
+
+# PROVIDE: inetd
+# REQUIRE: DAEMON LOGIN FILESYSTEMS
+# KEYWORD: shutdown
+
+. /etc/rc.subr
+
+name="inetd"
+desc="Internet \"super-server\""
+rcvar="inetd_enable"
+command="/usr/sbin/${name}"
+pidfile="/var/run/${name}.pid"
+required_files="/etc/${name}.conf"
+extra_commands="reload"
+
+: ${inetd_svcj_options:="net_basic"}
+
+load_rc_config $name
+run_rc_command "$1"