diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-07-09 16:55:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-07-09 16:55:11 +0000 |
commit | 6ef98a482a9bf56e97f6d641fabfc0f5b1a35ade (patch) | |
tree | 798dba8e2db8e67ddf0cce415b89dbb347d86b1e /etc | |
parent | c58a6ca4b1e74653c8a4e7018ad697ae1e2637dc (diff) |
toss a /dev/crypto copy into /var/www/dev; millert ok
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |