Add rc.d support for standalone ftpd, suggested by perry@.
This commit is contained in:
parent
0095c1a604
commit
7eb092e6c3
|
@ -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"
|
Loading…
Reference in New Issue