home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD2.img
/
d4xx
/
d473
/
cnewssrc
/
cnews_src.lzh
/
misc
/
newsboot
< prev
next >
Wrap
Text File
|
1990-01-11
|
546b
|
29 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
cd $NEWSARTS/in.coming
rm -f nspool.* nruntmp.* # leftover temporaries
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