File:  [CSRG BSD Unix] / 43BSD / usr.bin / uucp / vms / support / uucpclean.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

SPOOL=/usr/spool/uucp

cd /usr/lib/uucp
uuclean -pLTMP. -n24
uuclean -d/usr/spool/uucp/TM. -pTM.
uuclean -d/usr/spool/uucp/X. -pX.
uuclean -d/usr/spool/uucp/C. -pC.
uuclean -d/usr/spool/uucp/D. -pD.
uuclean -d/usr/spool/uucp/D.`uuname -l` -pD.
uuclean -d/usr/spool/uucp/D.`uuname -l`X -pD.

cd $SPOOL
mv LOGFILE o.LOGFILE
mv SYSLOG o.SYSLOG
cp /dev/null LOGFILE
cp /dev/null SYSLOG
chmod 666 LOGFILE SYSLOG

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.