File:  [Research Unix] / researchv9 / ipc / servers / daily
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

#!/bin/sh -p
# DX=`date | awk '{print $1}'`
D1=old
for i in svc dk tcp tpc
do	if [ -r /usr/ipc/log/$i ]
	then
		cp /usr/ipc/log/$i /usr/ipc/log/$i.$D1
		> /usr/ipc/log/$i
		chmod 664 /usr/ipc/log/$i
	fi
done
if [ -r /usr/spool/mail/mail.log ]
then
	cp /usr/spool/mail/mail.log /usr/spool/mail/mail.log.$D1
	> /usr/spool/mail/mail.log
	chmod 666 /usr/spool/mail/mail.log
fi

unix.superglobalmegacorp.com

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