|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: T u
Length: 601 (0x259)
Types: TextFile
Names: »uudemon.admin«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/lib/uucp/uudemon.admin«
#!/bin/sh #$Header: uudemon.admin.sh,v 1.2 86/08/07 09:42:46 dce Exp $ # # This shell sends uucp status information to an administrator. # It should started by a line in /usr/lib/crontab. # e.g. # # 48 8,12,16 * * * uucp /usr/lib/uucp/uudemon.admin > /dev/null # #set +e export PATH PATH=/bin:/usr/bin MAILTO=uucp LOGDIR=/usr/spool/uucp/.Log ULOG=$LOGDIR/uucico TMP=/tmp/uu$$ (uustat -p; uustat -q) > $TMP if [ -s $TMP ] then (echo "Subject: uu-status"; cat $TMP) | mail $MAILTO fi grep passwd $ULOG/* > $TMP if [ -s $TMP ] then (echo "Subject: passwd check"; cat $TMP) | mail $MAILTO fi rm $TMP