1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00

Align the script more with rc.d/cleanvar (which doesn't output any

diagnostics). Instead, move output behind $rc_quiet.
This commit is contained in:
Mike Makonnen 2008-06-23 04:42:58 +00:00
parent 4af728134c
commit 252c018f5f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179944

View File

@ -25,7 +25,7 @@ cleartmp_start()
${tmp}/.ICE-unix ${tmp}/.font-unix"
if checkyesno ${rcvar1}; then
echo "Clearing ${tmp}."
[ -z "${rc_quiet}" ] && echo "Clearing ${tmp}."
# This is not needed for mfs, but doesn't hurt anything.
# Things to note:
@ -44,7 +44,7 @@ cleartmp_start()
elif checkyesno clear_tmp_X; then
# Remove X lock files, since they will prevent you from
# restarting X. Remove other X related directories.
echo "Clearing ${tmp} (X related)."
[ -z "${rc_quiet}" ] && echo "Clearing ${tmp} (X related)."
rm -rf ${tmp}/.X[0-9]-lock ${x11_socket_dirs}
fi
if checkyesno clear_tmp_X; then