Merge commit 'crater/vendor/OPENPAM'
[dragonfly.git] / etc / rc.d / ftpd
1 #!/bin/sh
2 #
3 # $DragonFly: src/etc/rc.d/ftpd,v 1.2 2005/11/19 21:47:32 swildner Exp $
4 #
5
6 # PROVIDE: ftpd
7 # REQUIRE: DAEMON
8 # BEFORE:  LOGIN
9
10 . /etc/rc.subr
11
12 name="ftpd"
13 rcvar=`set_rcvar`
14 pidfile="/var/run/${name}.pid"
15 command="/usr/libexec/${name}"
16 command_args="-D -p $pidfile"
17
18 load_rc_config $name
19 run_rc_command "$1"