1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/ftp/bbftp-server/files/bbftpd.in
Alexey Dokuchaev 06105161eb - Split into client and server ports: upstream now provides separate
distfiles and also this allows to simplify configure and build glue
  in the Makefiles considerably
- Update to version 3.2.1, reword both COMMENTs accordingly
- Actualize MASTER_SITES and WWW line in the port description
- Unbreak the build against contemporary versions of OpenSSL
- Define LICENSE (GPLv2+) and install provided documentation files
2021-01-30 09:01:08 +00:00

28 lines
435 B
Bash

#!/bin/sh
# PROVIDE: bbftpd
# REQUIRE: LOGIN
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# bbftp_enable (bool): Set to NO by default.
# Set it to YES to enable bbftpd.
#
. /etc/rc.subr
name="bbftpd"
rcvar=bbftpd_enable
command=%%PREFIX%%/bin/${name}
pidfile=/var/run/${name}.pid
load_rc_config $name
: ${bbftp_enable="NO"}
command_args="-b"
run_rc_command "$1"