diff options
author | ghen <ghen> | 2005-12-28 15:50:35 +0000 |
---|---|---|
committer | ghen <ghen> | 2005-12-28 15:50:35 +0000 |
commit | d57387f13a4e4e7caf16409a007d42fed8977169 (patch) | |
tree | f99f9c7213670aab6842077f150cbd9da357f3ff /net/ez-ipupdate/files/ez-ipupdate.sh | |
parent | 1f248b4649f17960aa89ba9192df5c6bd1d4f83f (diff) | |
download | pkgsrc-d57387f13a4e4e7caf16409a007d42fed8977169.tar.gz |
Import ez-ipupdate from pkgsrc-wip. Ok by wiz.
ez-ipupdate is a small utility for updating your host name for the any
of the dynamic DNS service offered at:
* http://www.ez-ip.net
* http://www.justlinux.com
* http://www.dhs.org
* http://www.dyndns.org
* http://www.ods.org
* http://gnudip.cheapnet.net (GNUDip)
* http://www.dyn.ca (GNUDip)
* http://www.tzo.com
* http://www.easydns.com
* http://www.dyns.cx
* http://www.hn.org
* http://www.zoneedit.com
The key features are: support for multiple service types, daemon mode
that monitors your IP address and only sends updates when your IP
address changes.
Diffstat (limited to 'net/ez-ipupdate/files/ez-ipupdate.sh')
-rw-r--r-- | net/ez-ipupdate/files/ez-ipupdate.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net/ez-ipupdate/files/ez-ipupdate.sh b/net/ez-ipupdate/files/ez-ipupdate.sh new file mode 100644 index 00000000000..5e1f3b8c457 --- /dev/null +++ b/net/ez-ipupdate/files/ez-ipupdate.sh @@ -0,0 +1,21 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: ez-ipupdate.sh,v 1.1.1.1 2005/12/28 15:50:35 ghen Exp $ +# +# PROVIDE: ez_ipupdate +# REQUIRE: DAEMON syslogd + +. /etc/rc.subr + +name="ez_ipupdate" +rcvar="${name}" +progname="ez-ipupdate" +command="@PREFIX@/bin/${progname}" +conf_file="@PKG_SYSCONFDIR@/${progname}.conf" +required_files="${conf_file}" +command_args="-d -c ${conf_file}" +sig_stop=QUIT +extra_commands="reload" + +load_rc_config $name +run_rc_command "$1" |