summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-09 16:55:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-09 16:55:11 +0000
commit6ef98a482a9bf56e97f6d641fabfc0f5b1a35ade (patch)
tree798dba8e2db8e67ddf0cce415b89dbb347d86b1e /etc
parentc58a6ca4b1e74653c8a4e7018ad697ae1e2637dc (diff)
toss a /dev/crypto copy into /var/www/dev; millert ok
Diffstat (limited to 'etc')
-rw-r--r--etc/rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index dac26763cb6..980f2d302ea 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.198 2002/06/11 04:51:39 dhartmei Exp $
+# $OpenBSD: rc,v 1.199 2002/07/09 16:55:10 deraadt Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -489,6 +489,9 @@ fi
if [ "X${httpd_flags}" != X"NO" ]; then
# Clean up left-over httpd locks
+ if [ ! -c "/var/www/dev/crypto" ]; then
+ ( cd / ; pax -rw -pe dev/crypto /var/www )
+ fi
rm -f /var/www/logs/{ssl_mutex,httpd.lock,accept.lock}.*
echo -n ' httpd'; /usr/sbin/httpd ${httpd_flags}
fi