diff options
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" |