ftpd revision 1.2
1#!/bin/sh 2# 3# $NetBSD: ftpd,v 1.2 2005/08/08 00:19:37 peter Exp $ 4# 5 6# PROVIDE: ftpd 7# REQUIRE: LOGIN 8# KEYWORD: shutdown 9# 10# Note that ftpd_flags should always contain the flag "-D", otherwise 11# ftpd(8) will not start. 12# 13 14$_rc_subr_loaded . /etc/rc.subr 15 16name="ftpd" 17rcvar=$name 18command="/usr/libexec/${name}" 19pidfile="/var/run/${name}.pid" 20 21load_rc_config $name 22run_rc_command "$1" 23