summaryrefslogtreecommitdiff
path: root/net/dynipclient/files/dynipclient.sh
blob: 031dfc0aa71bc7c65fb472d426acccd1fca41ce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"