c9c458f33c
when running ftpd as daemon and it will now automatically be appended to the command line, even if ftpd_flags doesn't have it. Suggested by Alan Barrett and Luke Mewburn, thanks.
20 lines
302 B
Bash
Executable File
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"
|