Browse Source

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.
OPENBSD_3_0
fgsch 23 years ago
parent
commit
07ed175916
2 changed files with 5 additions and 5 deletions
  1. +3
    -3
      src/etc/rc
  2. +2
    -2
      src/etc/rc.conf

+ 3
- 3
src/etc/rc View File

@ -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;


+ 2
- 2
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: rc.conf,v 1.61 2001/05/30 02:11:09 deraadt Exp $
# $OpenBSD: rc.conf,v 1.62 2001/06/12 06:36:03 fgsch Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q"
@ -29,6 +29,7 @@ route6d_flags=NO # for normal use: ""
rtsold_flags=NO # for normal use: interface
# be sure to set net.inet6.ip6.forwarding=0
# be sure to set net.inet6.ip6.accept_rtadv=1
lpd_flags=NO # for normal use: "" (or "-l" for debugging)
# Set to NO if ftpd is running out of inetd
ftpd_flags=NO # for non-inetd use: "-D"
@ -52,7 +53,6 @@ kerberos_slave=NO # kerberos slave server.
amd=NO
portmap=YES # almost always needed
inetd=YES # almost always needed
lpd=NO # printing daemons
check_quotas=YES # NO may be desirable in some YP environments
ntpd=YES # run ntpd if it exists
afs=NO # mount and run afs


Loading…
Cancel
Save