summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/rc6
-rw-r--r--etc/rc.conf4
2 files changed, 5 insertions, 5 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;
diff --git a/etc/rc.conf b/etc/rc.conf
index 7f19c1b1993..1d72e6ea413 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -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