pkgsrc/net/ez-ipupdate/files/ez-ipupdate.sh
ghen f140aa1701 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.
2005-12-28 15:50:35 +00:00

21 lines
442 B
Bash

#!@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"