|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: rc,v 1.255 2004/09/27 16:06:20 henning Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: rc,v 1.256 2004/09/27 16:08:26 henning Exp $ |
|
|
|
|
|
|
|
|
# System startup script run by init on autoboot |
|
|
# System startup script run by init on autoboot |
|
|
# or after single-user. |
|
|
# or after single-user. |
|
@ -370,7 +370,7 @@ echo clearing /tmp |
|
|
find . ! -name . ! -name lost+found ! -name quota.user \ |
|
|
find . ! -name . ! -name lost+found ! -name quota.user \ |
|
|
! -name quota.group -execdir rm -rf -- {} \; -type d -prune) |
|
|
! -name quota.group -execdir rm -rf -- {} \; -type d -prune) |
|
|
|
|
|
|
|
|
# create Unix sockets directories for X if needed and make sure they have |
|
|
|
|
|
|
|
|
# create Unix sockets directories for X if needed and make sure they have |
|
|
# correct permissions |
|
|
# correct permissions |
|
|
if [ -d /usr/X11R6/lib ]; then |
|
|
if [ -d /usr/X11R6/lib ]; then |
|
|
for d in /tmp/.X11-unix /tmp/.ICE-unix ; do |
|
|
for d in /tmp/.X11-unix /tmp/.ICE-unix ; do |
|
@ -538,7 +538,7 @@ if [ "X${sendmail_flags}" != X"NO" -a -s /etc/mailer.conf ]; then |
|
|
echo -n ' sendmail'; ( /usr/sbin/sendmail ${sendmail_flags} >/dev/null 2>&1 & ) |
|
|
echo -n ' sendmail'; ( /usr/sbin/sendmail ${sendmail_flags} >/dev/null 2>&1 & ) |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [ "X${httpd_flags}" != X"NO" ]; then |
|
|
|
|
|
|
|
|
if [ "X${httpd_flags}" != X"NO" ]; then |
|
|
# Clean up left-over httpd locks |
|
|
# Clean up left-over httpd locks |
|
|
rm -f /var/www/logs/{ssl_mutex,httpd.lock,accept.lock}.* |
|
|
rm -f /var/www/logs/{ssl_mutex,httpd.lock,accept.lock}.* |
|
|
echo -n ' httpd'; /usr/sbin/httpd ${httpd_flags} |
|
|
echo -n ' httpd'; /usr/sbin/httpd ${httpd_flags} |
|
|