summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-03-02 06:22:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-03-02 06:22:40 +0000
commit1ad0dbd426cf5ec858e6fdc640e4576ee8a87364 (patch)
treec4df04df99fc7e8842d74622dd4b1f896dc32005 /etc/rc
parent5eeb23423bf13599fadd3721d4f36a6746550892 (diff)
amd now crates autodir by itself
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc7
1 files changed, 2 insertions, 5 deletions
diff --git a/etc/rc b/etc/rc
index bc61fbb14ca..ed55a6e77ac 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.164 2001/02/23 06:50:10 deraadt Exp $
+# $OpenBSD: rc,v 1.165 2001/03/02 06:22:39 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -252,11 +252,8 @@ if [ X${nfs_server} = X"YES" -a -s /etc/exports -a \
fi
fi
-if [ X${amd} = X"YES" -a -d ${amd_dir} -a -e ${amd_master} ]; then
+if [ X${amd} = X"YES" -a -e ${amd_master} ]; then
echo -n ' amd'
- if [ ! -d ${amd_dir} ]; then
- mkdir -p -m 755 ${amd_dir}
- fi
(cd /etc/amd; amd -l syslog -x error,noinfo,nostats -p \
-a ${amd_dir} `cat ${amd_master}` > /var/run/amd.pid )
fi