aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMike Makonnen <mtm@FreeBSD.org>2008-06-23 04:42:58 +0000
committerMike Makonnen <mtm@FreeBSD.org>2008-06-23 04:42:58 +0000
commit252c018f5fd45af1d84971af7242390c24aff3fd (patch)
tree1d5b1d724ccbd0f3a9093f9176614d5a1a54fe37 /etc
parent4af728134c83622119366c65af2fc92f7adcc601 (diff)
downloadsrc-252c018f5fd45af1d84971af7242390c24aff3fd.tar.gz
src-252c018f5fd45af1d84971af7242390c24aff3fd.zip
Notes
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/cleartmp4
1 files 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