1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/dns/ddclient/files/ddclient.sh
Edwin Groothuis 052f6d24e4 [MAINTAINER] dns/ddclient: update to 3.6.5
- Update to 3.6.5
	- Utilize PORTDOCS and PLIST_FILES
	- Remove pkg-plist

PR:		ports/74334
Submitted by:	Radek Kozlowski <radek@raadradd.com>
2004-11-27 05:52:15 +00:00

28 lines
436 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: ddclient
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf to enable ddclient:
#
#ddclient_enable="YES"
#
ddclient_enable=${ddclient_enable-"NO"}
ddclient_flags=${ddclient_flags-"-daemon 300"}
. %%RC_SUBR%%
name="ddclient"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/${name}"
required_files="%%PREFIX%%/etc/${name}.conf"
load_rc_config ${name}
run_rc_command "$1"