summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/daily12
1 files changed, 8 insertions, 4 deletions
diff --git a/etc/daily b/etc/daily
index bddf22f..c14b0ea 100644
--- a/etc/daily
+++ b/etc/daily
@@ -41,10 +41,14 @@ if [ -d /var/rwho ] ; then
fi
cd /tmp
-find / ! -fstype local -a -prune -o \
- \( -name '[#,]*' -o -name '.#*' -o -name a.out -o -name core \
- -o -name '*.CKP' -o -name '.emacs_[0-9]*' \) \
- -a -atime +3 -exec rm -f -- {} \;
+# This is not safe, you need to decide what is appropriate for your
+# system.
+#
+#find / ! -fstype local -a -prune -o \
+# \( -name '[#,]*' -o -name '.#*' -o -name a.out -o -name core \
+# -o -name '*.CKP' -o -name '.emacs_[0-9]*' \) \
+# -a -atime +3 -exec rm -f -- {} \;
+#
msgs -c
if [ -f /etc/news.expire ]; then
/etc/news.expire
OpenPOWER on IntegriCloud