35362f0b9e
console/service/daemon dynamic DNS client. It gives the possibility to have your own fixed hostname registered on the internet, although your IP might be changing. It checks periodically whether the IP address stored by the DNS server is the real current IP address of the machine that is running it. WWW: http://sourceforge.net/projects/inadyn-mt/ PR: ports/177149 Submitted by: William Grzybowski <william88@gmail.com>
24 lines
353 B
Bash
24 lines
353 B
Bash
#!/bin/sh
|
|
#
|
|
# PROVIDE: inadynmt
|
|
# REQUIRE: NETWORKING
|
|
# KEYWORD: shutdown
|
|
#
|
|
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
|
|
# to enable this service:
|
|
#
|
|
# inadynmt_enable="YES"
|
|
#
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="inadynmt"
|
|
rcvar=inadynmt_enable
|
|
|
|
command=%%PREFIX%%/bin/inadyn-mt
|
|
|
|
load_rc_config $name
|
|
|
|
: ${inadynmt_enable="NO"}
|
|
|
|
run_rc_command "$1"
|