NetBSD/etc/rc.d/ftpd

20 lines
302 B
Bash
Executable File

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