Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/ftp-proxy
| #!/bin/sh | #!/bin/sh | ||||
| # | # | ||||
| # | # | ||||
| # PROVIDE: ftp-proxy | # PROVIDE: ftp-proxy | ||||
| # REQUIRE: DAEMON pf | # REQUIRE: DAEMON pf | ||||
| # KEYWORD: shutdown | # KEYWORD: shutdown | ||||
| . /etc/rc.subr | . /etc/rc.subr | ||||
| name="ftpproxy" | name="ftpproxy" | ||||
| desc="Internet File Transfer Protocol proxy daemon" | desc="Internet File Transfer Protocol proxy daemon" | ||||
| rcvar="ftpproxy_enable" | rcvar="ftpproxy_enable" | ||||
| command="/usr/sbin/ftp-proxy" | command="/usr/sbin/ftp-proxy" | ||||
| : ${ftpproxy_svcj_options:="net_basic"} | |||||
| load_rc_config $name | load_rc_config $name | ||||
| # | # | ||||
| # manage_pid argument | # manage_pid argument | ||||
| # Create or remove a pidfile manually, for daemons that can't be bothered | # Create or remove a pidfile manually, for daemons that can't be bothered | ||||
| # to do it themselves. Takes one argument, which is the argument provided | # to do it themselves. Takes one argument, which is the argument provided | ||||
| # to the rc script. The pidfile will be named /var/run/<$name>.pid, | # to the rc script. The pidfile will be named /var/run/<$name>.pid, | ||||
| # unless $pidfile is defined. | # unless $pidfile is defined. | ||||
| ▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines | |||||