ftpd revision 180563
1#!/bin/sh 2# 3# $FreeBSD: head/etc/rc.d/ftpd 180563 2008-07-16 19:22:48Z dougb $ 4# 5 6# PROVIDE: ftpd 7# REQUIRE: LOGIN cleanvar 8 9. /etc/rc.subr 10 11name="ftpd" 12rcvar=`set_rcvar` 13command="/usr/libexec/${name}" 14pidfile="/var/run/${name}.pid" 15start_precmd=ftpd_prestart 16 17ftpd_prestart() 18{ 19 rc_flags="-D ${rc_flags}" 20 return 0 21} 22 23load_rc_config $name 24run_rc_command "$1" 25