summaryrefslogtreecommitdiff
path: root/net/inadyn/files/inadyn.sh
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2011-12-14 13:35:46 +0000
committerabs <abs@pkgsrc.org>2011-12-14 13:35:46 +0000
commit7aa30d483c29c757151628b36639f834ff549bb2 (patch)
treec4d0e1dba75128271c0503ba105e488805116566 /net/inadyn/files/inadyn.sh
parent1e581ec81bdc39a5fcd904e6d783b1127e1936b3 (diff)
downloadpkgsrc-7aa30d483c29c757151628b36639f834ff549bb2.tar.gz
add rc.d script, bump pkgrevision
Diffstat (limited to 'net/inadyn/files/inadyn.sh')
-rw-r--r--net/inadyn/files/inadyn.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/inadyn/files/inadyn.sh b/net/inadyn/files/inadyn.sh
new file mode 100644
index 00000000000..b2b64f50f34
--- /dev/null
+++ b/net/inadyn/files/inadyn.sh
@@ -0,0 +1,17 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: inadyn.sh,v 1.1 2011/12/14 13:35:47 abs Exp $
+#
+
+# PROVIDE: inadyn
+# REQUIRE: NETWORK
+
+. /etc/rc.subr
+
+name="inadyn"
+rcvar=$name
+command="@PREFIX@/bin/${name}"
+required_files="@PKG_SYSCONFDIR@/inadyn.conf"
+
+load_rc_config $name
+run_rc_command "$1"