diff options
author | mlaier <mlaier@FreeBSD.org> | 2007-09-06 21:00:48 +0000 |
---|---|---|
committer | mlaier <mlaier@FreeBSD.org> | 2007-09-06 21:00:48 +0000 |
commit | 88b18f542fb6fae5f8cf37edc0f1282b1aa078db (patch) | |
tree | cc1e894e337ec20eb0da2b8882b0f21641351515 /etc/rc.d/ftp-proxy | |
parent | 62ac84bb831af5725c5a698a1ca7bac7ff11dcae (diff) | |
download | FreeBSD-src-88b18f542fb6fae5f8cf37edc0f1282b1aa078db.zip FreeBSD-src-88b18f542fb6fae5f8cf37edc0f1282b1aa078db.tar.gz |
Add a startup script for ftp-proxy(8) now that it is no longer started as
part of inetd(8).
Approved by: re (bmah)
Reviewed by: freebsd-rc (a while back)
Reminded by: kevlo
Diffstat (limited to 'etc/rc.d/ftp-proxy')
-rw-r--r-- | etc/rc.d/ftp-proxy | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/etc/rc.d/ftp-proxy b/etc/rc.d/ftp-proxy new file mode 100644 index 0000000..0b2604d --- /dev/null +++ b/etc/rc.d/ftp-proxy @@ -0,0 +1,17 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: ftp-proxy +# REQUIRE: DAEMON pf +# + +. /etc/rc.subr + +name="ftpproxy" +rcvar=`set_rcvar` +command="/usr/sbin/ftp-proxy" + +load_rc_config $name +run_rc_command "$1" |