[patch] etc/rc.d/cleartmp ICE-unix and font-unix directories not created

Pawel Worach pawel.worach at telia.com
Fri Nov 5 12:22:56 PST 2004


This small patch makes diskless clients (and tmpmfs="YES" users)
happier when using xdm and a session manager aware window manager
and/or a X font server.

Index: etc/rc.d/cleartmp
===================================================================
RCS file: /export/ctm/cvs/src/etc/rc.d/cleartmp,v
retrieving revision 1.11
diff -u -r1.11 cleartmp
--- etc/rc.d/cleartmp   7 Oct 2004 13:55:25 -0000       1.11
+++ etc/rc.d/cleartmp   5 Nov 2004 20:18:12 -0000
@@ -35,5 +35,5 @@
  # restarting X
  #
  rm -f /tmp/.X[0-9]-lock
-rm -fr /tmp/.X11-unix
-mkdir -m 1777 /tmp/.X11-unix
+rm -fr /tmp/.X11-unix /tmp/.font-unix /tmp/.ICE-unix
+mkdir -m 1777 /tmp/.X11-unix /tmp/.font-unix /tmp/.ICE-unix

-- 
Pawel


More information about the freebsd-current mailing list