summaryrefslogtreecommitdiff
path: root/net/darkstat
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-06-11 13:30:06 +0000
committerobache <obache@pkgsrc.org>2008-06-11 13:30:06 +0000
commit5c42194cd16c294584a7c21505464268b686f273 (patch)
tree2422e594496c487990a324c469acc2737214c479 /net/darkstat
parent6d2e7c1694d91b1fc1064ff0c9265119cb0b0d2b (diff)
downloadpkgsrc-5c42194cd16c294584a7c21505464268b686f273.tar.gz
Add missing rc.d script.
Diffstat (limited to 'net/darkstat')
-rw-r--r--net/darkstat/files/darkstat.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/darkstat/files/darkstat.sh b/net/darkstat/files/darkstat.sh
new file mode 100644
index 00000000000..d72e79139da
--- /dev/null
+++ b/net/darkstat/files/darkstat.sh
@@ -0,0 +1,16 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: darkstat.sh,v 1.1 2008/06/11 13:30:06 obache Exp $
+#
+
+# PROVIDE: darkstat
+# REQUIRE: NETWORKING named
+
+. /etc/rc.subr
+
+name="darkstat"
+rcvar=$name
+command="@PREFIX@/sbin/${name}"
+
+load_rc_config $name
+run_rc_command "$1"