2005-08-05 02:28:17 +04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2005-08-08 04:19:37 +04:00
|
|
|
# $NetBSD: ftpd,v 1.2 2005/08/08 00:19:37 peter Exp $
|
2005-08-05 02:28:17 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: ftpd
|
|
|
|
# REQUIRE: LOGIN
|
|
|
|
# KEYWORD: shutdown
|
2005-08-08 04:19:37 +04:00
|
|
|
#
|
|
|
|
# Note that ftpd_flags should always contain the flag "-D", otherwise
|
|
|
|
# ftpd(8) will not start.
|
|
|
|
#
|
2005-08-05 02:28:17 +04:00
|
|
|
|
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
|
|
|
|
|
|
|
name="ftpd"
|
|
|
|
rcvar=$name
|
|
|
|
command="/usr/libexec/${name}"
|
|
|
|
pidfile="/var/run/${name}.pid"
|
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|