Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/lpd
| Show All 10 Lines | |||||
| name="lpd" | name="lpd" | ||||
| desc="Line printer spooler daemon" | desc="Line printer spooler daemon" | ||||
| rcvar="lpd_enable" | rcvar="lpd_enable" | ||||
| command="/usr/sbin/${name}" | command="/usr/sbin/${name}" | ||||
| required_files="/etc/printcap" | required_files="/etc/printcap" | ||||
| start_precmd="chkprintcap" | start_precmd="chkprintcap" | ||||
| : ${lpd_svcj_options:="net_basic"} | |||||
| chkprintcap() | chkprintcap() | ||||
| { | { | ||||
| if checkyesno chkprintcap_enable ; then | if checkyesno chkprintcap_enable ; then | ||||
| /usr/sbin/chkprintcap ${chkprintcap_flags} | /usr/sbin/chkprintcap ${chkprintcap_flags} | ||||
| fi | fi | ||||
| } | } | ||||
| load_rc_config $name | load_rc_config $name | ||||
| run_rc_command "$1" | run_rc_command "$1" | ||||