summaryrefslogtreecommitdiff
path: root/net/rinetd/files/rinetd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/rinetd/files/rinetd.sh')
-rw-r--r--net/rinetd/files/rinetd.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/net/rinetd/files/rinetd.sh b/net/rinetd/files/rinetd.sh
new file mode 100644
index 00000000000..bd2f35398b5
--- /dev/null
+++ b/net/rinetd/files/rinetd.sh
@@ -0,0 +1,19 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: rinetd.sh,v 1.1.1.1 2003/10/01 01:15:44 grant Exp $
+#
+# PROVIDE: rinetd
+# REQUIRE: DAEMON
+# KEYWORD: shutdown
+#
+
+. /etc/rc.subr
+
+name="rinetd"
+rcvar=${name}
+command="@PREFIX@/sbin/${name}"
+pidfile="/var/run/${name}.pid"
+required_files="@PKG_SYSCONFDIR@/rinetd.conf"
+
+load_rc_config $name
+run_rc_command "$1"