Add (at long last) an option to say if you want to run the printer

daemon (lpd) or not. Set to run it by default.
This commit is contained in:
Gary Palmer 1996-01-28 08:08:37 +00:00
parent a7ba018ad1
commit 60dc88f2ce
2 changed files with 9 additions and 3 deletions

7
etc/rc
View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Id: rc,v 1.80 1995/12/28 01:24:04 jkh Exp $
# $Id: rc,v 1.81 1996/01/16 08:04:06 graichen Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@ -269,7 +269,10 @@ fi
#
echo -n standard daemons:
echo -n ' cron'; cron
echo -n ' printer'; lpd
if [ "X${lpd}" != X"NO" -a -x /usr/sbin/lpd ]; then
echo -n ' printer'; lpd
fi
# $sendmail_flags is imported from /etc/sysconfig;
# if $sendmail_flags is something other than NO, sendmail is run.

View File

@ -4,7 +4,7 @@
# This is sysconfig - a file full of useful variables that you can set
# to change the default startup behavior of your system.
#
# $Id: sysconfig,v 1.30 1996/01/05 17:00:27 bde Exp $
# $Id: sysconfig,v 1.31 1996/01/06 20:49:18 jkh Exp $
######################### Start Of Local Configuration Section ###########
@ -128,6 +128,9 @@ ntpdate="NO"
# Set to YES if you want to run rwhod
rwhod=NO
# Set to NO if don't want to run lpd
lpd=YES
# Default sendmail flags. -bd is pretty mandatory, -q<n>m sets the queue scan
# time in minutes. If set to NO, don't start sendmail at all.
sendmail_flags="-bd -q30m"