2b4f1fcc01
pkg/24414, with minor changes by me. jftpgw is an FTP proxy/gateway that uses the FTP protocol (unlike those FTP proxies that fetch an FTP file but work as an http proxy). You can use it to make servers behind a firewall/NAT server (masquerading server) accessible or to allow users behind such solutions to transfer files to and from the outside of the LAN.
20 lines
374 B
Bash
Executable file
20 lines
374 B
Bash
Executable file
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
#
|
|
# $NetBSD: jftpgw.sh,v 1.1.1.1 2004/02/23 01:32:34 xtraeme Exp $
|
|
#
|
|
# PROVIDE: jftpgw
|
|
# REQUIRE: DAEMON LOGIN
|
|
# KEYWORD: shutdown
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="jftpgw"
|
|
rcvar=$name
|
|
command="@PREFIX@/sbin/${name}"
|
|
pidfile="/var/run/${name}.pid"
|
|
required_files="@PKG_SYSCONFDIR@/${name}.conf"
|
|
extra_commands="reload"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|