xref: /freebsd/libexec/rc/rc.d/ftpd (revision f99f0ee14e3af81c23150a6a340259ca8a33d01a)
1#!/bin/sh
2#
3#
4
5# PROVIDE: ftpd
6# REQUIRE: LOGIN FILESYSTEMS
7# KEYWORD: shutdown
8
9. /etc/rc.subr
10
11name="ftpd"
12desc="Internet File Transfer Protocol daemon"
13rcvar="ftpd_enable"
14command="/usr/libexec/${name}"
15pidfile="/var/run/${name}.pid"
16
17: ${ftpd_svcj_options:="net_basic"}
18
19load_rc_config $name
20
21flags="-D ${flags} ${rc_flags}"
22
23run_rc_command "$1"
24