mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
052f6d24e4
- Update to 3.6.5 - Utilize PORTDOCS and PLIST_FILES - Remove pkg-plist PR: ports/74334 Submitted by: Radek Kozlowski <radek@raadradd.com>
28 lines
436 B
Bash
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"
|