summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc9
1 files changed, 5 insertions, 4 deletions
diff --git a/etc/rc b/etc/rc
index 02af8df..da29746 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.151 1998/08/24 07:11:48 gpalmer Exp $
+# $Id: rc,v 1.152 1998/09/05 04:27:35 jdp Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -166,11 +166,12 @@ if [ "X${clear_tmp_enable}" = X"YES" ]; then
(cd /tmp && rm -rf [a-km-pr-zA-Z]* &&
find -d . ! -name . ! -name lost+found ! -name quotas -exec rm -rf -- {} \;)
- # Also remove X lock files since it will prevent you from
- # restarting X11 after a system crash.
- rm -f /tmp/.X*-lock /tmp/.X11-unix/*
fi
+# Remove X lock files, since they will prevent you from restarting X11
+# after a system crash.
+rm -f /tmp/.X*-lock /tmp/.X11-unix/*
+
# snapshot any kernel -c changes back to disk
echo 'recording kernel -c changes'
dset -q
OpenPOWER on IntegriCloud