aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-06-29 18:42:52 +0000
committerBill Nottingham <notting@redhat.com>2004-06-29 18:42:52 +0000
commitc19dfcb0c4643530a851c09b03d9e5bfec32ff97 (patch)
tree09389adfc50c206a2b2a9efdb93fb6d887db603f
parent7cd7dc4330efb7341fc2566be0d667a7d9c53f58 (diff)
downloadinitscripts-c19dfcb0c4643530a851c09b03d9e5bfec32ff97.tar
initscripts-c19dfcb0c4643530a851c09b03d9e5bfec32ff97.tar.gz
initscripts-c19dfcb0c4643530a851c09b03d9e5bfec32ff97.tar.bz2
initscripts-c19dfcb0c4643530a851c09b03d9e5bfec32ff97.tar.xz
initscripts-c19dfcb0c4643530a851c09b03d9e5bfec32ff97.zip
hack: make ICE directory on boot (#86480)
-rwxr-xr-xrc.d/rc.sysinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index eaebc798..ef8b5180 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -727,6 +727,9 @@ rm -f /tmp/.X*-lock /tmp/.lock.* /tmp/.gdm_socket /tmp/.s.PGSQL.*
rm -rf /tmp/.X*-unix /tmp/.ICE-unix /tmp/.font-unix /tmp/hsperfdata_* \
/tmp/kde-* /tmp/ksocket-* /tmp/mc-* /tmp/mcop-* /tmp/orbit-* \
/tmp/scrollkeeper-* /tmp/ssh-*
+# Make ICE directory
+mkdir -m 1777 -p /tmp/.ICE-unix >/dev/null 2>&1
+chown root:root /tmp/.ICE-unix
# Now turn on swap in case we swap to files.
swapon -a