summaryrefslogtreecommitdiff
path: root/net/trickle/files/trickled.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/trickle/files/trickled.sh')
-rwxr-xr-xnet/trickle/files/trickled.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/trickle/files/trickled.sh b/net/trickle/files/trickled.sh
new file mode 100755
index 00000000000..890e53d2287
--- /dev/null
+++ b/net/trickle/files/trickled.sh
@@ -0,0 +1,17 @@
+#!@RCS_SCRIPTS_SHELL@
+#
+# $NetBSD: trickled.sh,v 1.1.1.1 2003/09/25 14:19:42 xtraeme Exp $
+#
+# PROVIDE: trickled
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="trickled"
+rcvar=$name
+command="@PREFIX@/bin/${name}"
+pidfile="/var/run/${name}.pid"
+required_files="@PKG_SYSCONFDIR@/trickled.conf"
+
+load_rc_config $name
+run_rc_command "$1"