Close PR conf/589 - amd should only evaluate ${amdflags}.
While I'm at it, add a commented-out sample amd flags line to sysconfig and drop a sample amd.map file in this directory for easy copying. I know that this file's contents are highly site-variable, but the one I've chosen for an example is also the one I've seen on 99.9% of the amd-using sites I've visited. I think it's a fair default.
This commit is contained in:
parent
f6da9b9d77
commit
a246c358bd
2
etc/amd.map
Normal file
2
etc/amd.map
Normal file
@ -0,0 +1,2 @@
|
||||
/defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key}
|
||||
* opts:=rw,grpid
|
4
etc/rc
4
etc/rc
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Id: rc,v 1.82 1996/01/28 08:08:36 gpalmer Exp $
|
||||
# $Id: rc,v 1.83 1996/01/29 08:46:13 gpalmer Exp $
|
||||
# From: @(#)rc 5.27 (Berkeley) 6/5/91
|
||||
|
||||
# System startup script run by init on autoboot
|
||||
@ -224,7 +224,7 @@ fi
|
||||
|
||||
if [ "X${amdflags}" != X"NO" ]; then
|
||||
echo -n ' amd'
|
||||
amd -p -l /var/log/amd.log ${amdflags} > /var/run/amd.pid
|
||||
amd ${amdflags} > /var/run/amd.pid
|
||||
fi
|
||||
|
||||
# Kerberos runs ONLY on the Kerberos server machine
|
||||
|
@ -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.33 1996/01/29 08:46:14 gpalmer Exp $
|
||||
# $Id: sysconfig,v 1.34 1996/01/31 15:02:32 mpp Exp $
|
||||
|
||||
######################### Start Of Local Configuration Section ###########
|
||||
|
||||
@ -139,8 +139,11 @@ lpd=YES
|
||||
# time in minutes. If set to NO, don't start sendmail at all.
|
||||
sendmail_flags="-bd -q30m"
|
||||
|
||||
# Set to appropriate flags if you want to use AMD
|
||||
# Set to appropriate flags if you want to use AMD. The commented-out entry
|
||||
# provides a reasonable default, using the sample amd.map config file from the
|
||||
# /usr/src/etc directory.
|
||||
amdflags="NO"
|
||||
#amdflags="a /net -c 1800 -k i386 -d my.domain -l syslog /host /etc/amd.map"
|
||||
|
||||
# Set to YES if this machine will be an NFS client
|
||||
nfs_client=NO
|
||||
|
Loading…
Reference in New Issue
Block a user