aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-07-02 02:30:50 +0000
committerBill Nottingham <notting@redhat.com>2004-07-02 02:30:50 +0000
commitb1e0d7952b7747caf9a302d1480e588fdd02e67b (patch)
tree1bc43beaf8dba9177663a7520defc37d15d9da77 /rc.d
parentb628c2beb42368245f6fa14b8e5f783912306be4 (diff)
downloadinitscripts-b1e0d7952b7747caf9a302d1480e588fdd02e67b.tar
initscripts-b1e0d7952b7747caf9a302d1480e588fdd02e67b.tar.gz
initscripts-b1e0d7952b7747caf9a302d1480e588fdd02e67b.tar.bz2
initscripts-b1e0d7952b7747caf9a302d1480e588fdd02e67b.tar.xz
initscripts-b1e0d7952b7747caf9a302d1480e588fdd02e67b.zip
set context (#127099, <concert@europe.com>)
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 61b340cf..30530c05 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -730,6 +730,7 @@ rm -rf /tmp/.X*-unix /tmp/.ICE-unix /tmp/.font-unix /tmp/hsperfdata_* \
# Make ICE directory
mkdir -m 1777 -p /tmp/.ICE-unix >/dev/null 2>&1
chown root:root /tmp/.ICE-unix
+[ -n "$SELINUX" ] && restorecon /tmp/.ICE-unix
# Now turn on swap in case we swap to files.
swapon -a