Add rc.d support for standalone ftpd, suggested by perry@.

This commit is contained in:
peter 2005-08-04 22:28:17 +00:00
parent 0095c1a604
commit 7eb092e6c3
1 changed files with 18 additions and 0 deletions

18
etc/rc.d/ftpd Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
#
# $NetBSD: ftpd,v 1.1 2005/08/04 22:28:17 peter Exp $
#
# PROVIDE: ftpd
# REQUIRE: LOGIN
# KEYWORD: shutdown
$_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"