NetBSD/etc/rc.d/ftpd

23 lines
384 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# $NetBSD: ftpd,v 1.2 2005/08/08 00:19:37 peter Exp $
#
# PROVIDE: ftpd
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Note that ftpd_flags should always contain the flag "-D", otherwise
# ftpd(8) will not start.
#
$_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"