ftpd revision 256281
10Sstevel@tonic-gate#!/bin/sh 20Sstevel@tonic-gate# 30Sstevel@tonic-gate# $FreeBSD: stable/10/etc/rc.d/ftpd 240336 2012-09-11 05:04:59Z obrien $ 40Sstevel@tonic-gate# 50Sstevel@tonic-gate 60Sstevel@tonic-gate# PROVIDE: ftpd 70Sstevel@tonic-gate# REQUIRE: LOGIN FILESYSTEMS 80Sstevel@tonic-gate# KEYWORD: shutdown 90Sstevel@tonic-gate 100Sstevel@tonic-gate. /etc/rc.subr 110Sstevel@tonic-gate 120Sstevel@tonic-gatename="ftpd" 130Sstevel@tonic-gatercvar="ftpd_enable" 140Sstevel@tonic-gatecommand="/usr/libexec/${name}" 150Sstevel@tonic-gatepidfile="/var/run/${name}.pid" 160Sstevel@tonic-gatestart_precmd=ftpd_prestart 170Sstevel@tonic-gate 180Sstevel@tonic-gateftpd_prestart() 190Sstevel@tonic-gate{ 200Sstevel@tonic-gate rc_flags="-D ${rc_flags}" 210Sstevel@tonic-gate return 0 220Sstevel@tonic-gate} 230Sstevel@tonic-gate 240Sstevel@tonic-gateload_rc_config $name 250Sstevel@tonic-gaterun_rc_command "$1" 260Sstevel@tonic-gate