freebsd-skq/etc/rc.d/lpd
Doug Barton e3c46a3332 Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d files
with theirs, so this information doesn't need to be in the live file.
Having it in our CVS history is enough.
2007-12-08 07:20:23 +00:00

27 lines
360 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: lpd
# REQUIRE: DAEMON
# BEFORE: LOGIN
. /etc/rc.subr
name="lpd"
rcvar=`set_rcvar`
command="/usr/sbin/${name}"
required_files="/etc/printcap"
start_precmd="chkprintcap"
chkprintcap()
{
if checkyesno chkprintcap_enable ; then
/usr/sbin/chkprintcap ${chkprintcap_flags}
fi
}
load_rc_config $name
run_rc_command "$1"