summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/lpd
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-12-30 22:53:20 +0000
committeryar <yar@FreeBSD.org>2006-12-30 22:53:20 +0000
commitc91e4c56f635b3ce863d881f8a49d213248826f9 (patch)
tree48f5b2fe4337977e994033a03ecdb0d82ffe59a6 /etc/rc.d/lpd
parent04d777c063bfd2bb16af385cd179669da6a2404e (diff)
downloadFreeBSD-src-c91e4c56f635b3ce863d881f8a49d213248826f9.zip
FreeBSD-src-c91e4c56f635b3ce863d881f8a49d213248826f9.tar.gz
Eliminate global symbols starting with an underscore from rc.d
scripts, except for mdconfig* and jail. Such symbols are reserved for the rc.subr internals. Most scripts can be fixed by just declaring _foo symbols as local: few scripts actually need them to be global. Discussed with: dougb in freebsd-rc
Diffstat (limited to 'etc/rc.d/lpd')
-rwxr-xr-xetc/rc.d/lpd4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/lpd b/etc/rc.d/lpd
index dc2c3f3..ff64262 100755
--- a/etc/rc.d/lpd
+++ b/etc/rc.d/lpd
@@ -14,9 +14,9 @@ name="lpd"
rcvar=`set_rcvar`
command="/usr/sbin/${name}"
required_files="/etc/printcap"
-start_precmd="_chkprintcap"
+start_precmd="chkprintcap"
-_chkprintcap()
+chkprintcap()
{
if checkyesno chkprintcap_enable ; then
/usr/sbin/chkprintcap ${chkprintcap_flags}
OpenPOWER on IntegriCloud