Update to generate the ISO9660 names for the floppy images, use fd1200
[unix-history] / etc / daily
index 37e9df5..c14b0ea 100644 (file)
--- a/etc/daily
+++ b/etc/daily
@@ -41,10 +41,14 @@ if [ -d /var/rwho ] ; then
 fi
 
 cd /tmp
 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
 msgs -c
 if [ -f /etc/news.expire ]; then
        /etc/news.expire
@@ -126,7 +130,7 @@ mailq
 if [ -d /var/spool/uucp ]; then
        echo ""
        echo "uucp:"
 if [ -d /var/spool/uucp ]; then
        echo ""
        echo "uucp:"
-       uusnap
+       uustat -a
 fi
 
 echo ""
 fi
 
 echo ""
@@ -145,4 +149,4 @@ if [ -f /etc/Distfile ]; then
        rdist -f /etc/Distfile
 fi
 
        rdist -f /etc/Distfile
 fi
 
-sh /etc/security | mail -s "daily insecurity output" root
+sh /etc/security 2>&1 | mail -s "daily insecurity output" root