127c69bf43
with theirs, so this information doesn't need to be in the live file. Having it in our CVS history is enough.
27 lines
360 B
Bash
Executable File
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"
|