summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-02-09 12:20:40 +0000
committerjkh <jkh@FreeBSD.org>1996-02-09 12:20:40 +0000
commit50e472b749782e8ef9707879f6e0a3cf22781a0f (patch)
tree31aa364fd693f28e4f3af38a28ddc8e212c3e266 /etc
parentd1aa1b0573c5afdab457c603e5c9832824b886cc (diff)
downloadFreeBSD-src-50e472b749782e8ef9707879f6e0a3cf22781a0f.zip
FreeBSD-src-50e472b749782e8ef9707879f6e0a3cf22781a0f.tar.gz
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/amd.map2
-rw-r--r--etc/rc4
-rw-r--r--etc/sysconfig7
3 files changed, 9 insertions, 4 deletions
diff --git a/etc/amd.map b/etc/amd.map
new file mode 100644
index 0000000..dfcb88b
--- /dev/null
+++ b/etc/amd.map
@@ -0,0 +1,2 @@
+/defaults type:=host;fs:=${autodir}/${rhost};rhost:=${key}
+* opts:=rw,grpid
diff --git a/etc/rc b/etc/rc
index 7bdac9d..1bb32a7 100644
--- a/etc/rc
+++ b/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
diff --git a/etc/sysconfig b/etc/sysconfig
index 4c063f2..a204117 100644
--- a/etc/sysconfig
+++ b/etc/sysconfig
@@ -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
OpenPOWER on IntegriCloud