home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff319.lzh
/
CNewsSrc
/
cnews.orig.lzh
/
misc
/
newsboot
< prev
next >
Wrap
Text File
|
1989-06-27
|
583b
|
30 lines
#! /bin/sh
# newsboot - clean up on reboot
# =()<. ${NEWSCONFIG-@<NEWSCONFIG>@}>()=
. ${NEWSCONFIG-/usr/lib/news/bin/config}
PATH=$NEWSCTL/bin:$NEWSBIN:$NEWSPATH ; export PATH
umask $NEWSUMASK
cd $NEWSCTL
rm -f L.* LOCK* # leftover locks
rm -f history.n* # leftover expire work files
rm -f $NEWSARTS/in.coming/nspool.* # leftover input temporaries
# nntp goo processing
cd $NEWSARTS/in.coming
for f in nntp.* # find partial batches
do
while test -f $f # still there?
do
name=`getdate now`
if test ! -f $name
then
mv $f $name
else
sleep 2
fi
done
done