rc-scripts/trunk/rc.d/rc.sysinit

Artur Frysiak wiget at pld-linux.org
Mon Sep 20 08:26:37 CEST 2004


On Sun, Sep 19, 2004 at 01:32:26PM +0000, arekm wrote:
> Author: arekm
> Date: Sun Sep 19 13:32:23 2004
> New Revision: 4615
> 
> Modified:
>    rc-scripts/trunk/rc.d/rc.sysinit
> Log:
> Create /tmp/.ICE-unix directory for X11.
> 
> Modified: rc-scripts/trunk/rc.d/rc.sysinit
> ==============================================================================
> --- rc-scripts/trunk/rc.d/rc.sysinit	(original)
> +++ rc-scripts/trunk/rc.d/rc.sysinit	Sun Sep 19 13:32:23 2004
> @@ -741,7 +741,11 @@
>  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
> +restorecon /tmp/.ICE-unix > /dev/null 2>&1
> +

Better check for restorecon existence before run it.

Regards
-- 
Artur Frysiak
http://www.pld-linux.org/




More information about the pld-devel-en mailing list