Lines Matching refs:tmp
7 # REQUIRE: mountcritremote tmp
13 desc="Purge /tmp directory"
21 # Make /tmp location variable for easier debugging.
22 local tmp="/tmp"
24 # X related directories to create in /tmp.
25 local x11_socket_dirs="${tmp}/.X11-unix ${tmp}/.XIM-unix \
26 ${tmp}/.ICE-unix ${tmp}/.font-unix"
29 check_startmsgs && echo "Clearing ${tmp}."
33 # + The dot in ${tmp}/. is important.
38 # + /tmp/lost+found is preserved, but its contents are removed.
41 find -x ${tmp}/. ! -name . \
51 check_startmsgs && echo "Clearing ${tmp} (X related)."
52 rm -rf ${tmp}/.X[0-9]-lock ${x11_socket_dirs}