summaryrefslogtreecommitdiff
path: root/net/dynipclient/files
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2001-08-28 13:23:06 +0000
committertv <tv@pkgsrc.org>2001-08-28 13:23:06 +0000
commit7a615e256054aca053179e2080423653284ed6e1 (patch)
tree04e91cb819cf9e01df13ee1c80f6917fe1a7f33d /net/dynipclient/files
parent093d348241e56a5945be4443394c2b2445c9213e (diff)
downloadpkgsrc-7a615e256054aca053179e2080423653284ed6e1.tar.gz
Add rc.d script.
Diffstat (limited to 'net/dynipclient/files')
-rwxr-xr-xnet/dynipclient/files/dynipclient.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/dynipclient/files/dynipclient.sh b/net/dynipclient/files/dynipclient.sh
new file mode 100755
index 00000000000..031dfc0aa71
--- /dev/null
+++ b/net/dynipclient/files/dynipclient.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+# $NetBSD: dynipclient.sh,v 1.1 2001/08/28 13:23:06 tv Exp $
+#
+# PROVIDE: dynipclient
+# REQUIRE: NETWORK
+
+. /etc/rc.subr
+
+name="dynipclient"
+rcvar=$name
+command="/usr/pkg/bin/${name}"
+pidfile="/var/run/${name}.pid"
+required_files="/etc/dynip.cfg"
+
+load_rc_config $name
+run_rc_command "$1"