PATCH: BU110-003 SU110-003 CHANGES: /etc/uucp/daily /etc/uucp/weekly SUMMARY: The new uucp daily and weekly scripts contained some errors. This in turn caused errors from the regular daily and weekly scripts. INSTALLATION: # cd /etc/uucp # patch < this_file =================================================================== RCS file: /bsdi/MASTER/BSDI_OS/usr.bin/uucp/admin/daily.sh,v retrieving revision 1.2 diff -c -r1.2 daily *** 1.2 1994/01/31 04:42:06 --- daily 1994/03/31 23:44:43 *************** *** 1,10 **** #!/bin/sh ! PATH=/bin:/usr/bin # vixie 28jan94 [original] # ! # $Id: daily.sh,v 1.2 1994/01/31 04:42:06 donn Exp $ # if we had a uupoll command, this would be an ideal place to use it on # whatever systems we want to poll once a day just to keep the pipes clear. --- 1,10 ---- #!/bin/sh ! PATH=/bin:/usr/bin:/usr/sbin # vixie 28jan94 [original] # ! # $Id: daily.sh,v 1.3 1994/03/31 23:44:43 polk Exp $ # if we had a uupoll command, this would be an ideal place to use it on # whatever systems we want to poll once a day just to keep the pipes clear. =================================================================== RCS file: /bsdi/MASTER/BSDI_OS/usr.bin/uucp/admin/weekly.sh,v retrieving revision 1.2 diff -c -r1.2 weekly *** 1.2 1994/01/31 04:42:07 --- weekly 1994/03/31 23:44:54 *************** *** 2,8 **** # vixie 01dec93 [original] # ! # $Id: weekly.sh,v 1.2 1994/01/31 04:42:07 donn Exp $ Nvers=4 --- 2,8 ---- # vixie 01dec93 [original] # ! # $Id: weekly.sh,v 1.3 1994/03/31 23:44:54 polk Exp $ Nvers=4 *************** *** 11,30 **** # cd /var/log/uucp ! for subdir in * ! do ! if [ -d $subdir ]; then ! ( cd $subdir ! for file in * ! do ! case $file in ! *.[0-9]) ;; ! *) /usr/libexec/uuage $file $Nvers ;; ! esac ! done ! ) ! fi ! done # # should generate some kind of report here --- 11,39 ---- # cd /var/log/uucp ! dirs=* ! if [ "$dirs" != "*" ] ! then ! for subdir in $dirs ! do ! if [ -d $subdir ]; then ! ( cd $subdir ! ! files=* ! if [ "$files" != "*" ] ! then ! for file in $files ! do ! case $file in ! *.[0-9]) ;; ! *) /usr/libexec/uuage $file $Nvers ;; ! esac ! done ! fi ! ) ! fi ! done ! fi # # should generate some kind of report here