2005-08-05 02:28:17 +04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2005-08-09 18:59:33 +04:00
|
|
|
# $NetBSD: ftpd,v 1.3 2005/08/09 14:59:33 peter Exp $
|
2005-08-05 02:28:17 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: ftpd
|
|
|
|
# REQUIRE: LOGIN
|
|
|
|
# KEYWORD: shutdown
|
|
|
|
|
|
|
|
$_rc_subr_loaded . /etc/rc.subr
|
|
|
|
|
|
|
|
name="ftpd"
|
|
|
|
rcvar=$name
|
|
|
|
command="/usr/libexec/${name}"
|
2005-08-09 18:59:33 +04:00
|
|
|
command_args="-D"
|
2005-08-05 02:28:17 +04:00
|
|
|
pidfile="/var/run/${name}.pid"
|
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|