diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-06-12 06:36:04 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-06-12 06:36:04 +0000 |
commit | 0634b1762b6b861b83a2334860d4299fed451667 (patch) | |
tree | 56a4eaeddd3c2e42bd7d9b45e1ae7868154b7549 /etc/rc | |
parent | af34c0cdd070a8f0f9aa47f1a90d639c47567089 (diff) |
Use lpd_flags instead of lpd, thus allowing to pass parameters to lpd;
patch from Yozo TODA <yozo@imit.chiba-u.ac.jp>, deraadt@ ok.
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.172 2001/06/02 03:06:29 miod Exp $ +# $OpenBSD: rc,v 1.173 2001/06/12 06:36:03 fgsch Exp $ # System startup script run by init on autoboot # or after single-user. @@ -437,8 +437,8 @@ if [ X${rwhod} = X"YES" ]; then fi -if [ X${lpd} = X"YES" ]; then - echo -n ' printer'; lpd +if [ X${lpd_flags} != X"NO" ]; then + echo -n ' printer'; lpd ${lpd_flags} fi # $sendmail_flags is imported from /etc/rc.conf; |