From 252c018f5fd45af1d84971af7242390c24aff3fd Mon Sep 17 00:00:00 2001 From: Mike Makonnen Date: Mon, 23 Jun 2008 04:42:58 +0000 Subject: [PATCH] Align the script more with rc.d/cleanvar (which doesn't output any diagnostics). Instead, move output behind $rc_quiet. --- etc/rc.d/cleartmp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/cleartmp b/etc/rc.d/cleartmp index e3588f1f5bb1..a41a15ebf453 100755 --- a/etc/rc.d/cleartmp +++ b/etc/rc.d/cleartmp @@ -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