summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-06-12 06:36:04 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-06-12 06:36:04 +0000
commit0634b1762b6b861b83a2334860d4299fed451667 (patch)
tree56a4eaeddd3c2e42bd7d9b45e1ae7868154b7549 /etc/rc
parentaf34c0cdd070a8f0f9aa47f1a90d639c47567089 (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/rc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc b/etc/rc
index 8c27d15c799..d06fba3c418 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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;