1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/bin/sh # # $NetBSD: lpd,v 1.4 2000/09/19 13:04:38 lukem Exp $ # # PROVIDE: lpd # REQUIRE: DAEMON # BEFORE: LOGIN . /etc/rc.subr name="lpd" rcvar=$name command="/usr/sbin/${name}" pidfile="/var/run/${name}.pid" required_files="/etc/printcap" load_rc_config $name run_rc_command "$1"