aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2002-05-08 14:47:44 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2002-05-08 14:47:44 +0000
commitdfc4c48df75b4a723bc17c57de28a71ec3430276 (patch)
tree7463e75760ccf31bd2dd72d6181809981e9b3a77
parenta39bc9aac592c81f8d37d46b1b9b17b1a51a8f42 (diff)
Notes
-rw-r--r--etc/rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 120733013325..3972d3c19549 100644
--- a/etc/rc
+++ b/etc/rc
@@ -520,7 +520,9 @@ esac
# Remove X lock files, since they will prevent you from restarting X11
# after a system crash.
#
-rm -f /tmp/.X*-lock /tmp/.X11-unix/*
+rm -f /tmp/.X*-lock
+rm -fr /tmp/.X11-unix
+mkdir -m 1777 /tmp/.X11-unix
# Snapshot any kernel -c changes back to disk here <someday>.
# This has changed with ELF and /kernel.config.