DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T n

⟦de0dfdd6a⟧ TextFile

    Length: 547 (0x223)
    Types: TextFile
    Names: »nntplink-kill«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦f91e15335⟧ »EurOpenD3/news/nntp/nntplink2.0.0.tar.Z« 
        └─⟦2c70c5e6b⟧ 
            └─⟦this⟧ »nntplink-kill« 

TextFile

#!/bin/csh -f
#
# A script useful for nuking all nntplinks.
#
if (`/bin/hostname` != tut.cis.ohio-state.edu) then
	echo No NNTP links started - this is not Tut.
	exit 1
endif
set path=(/usr/lib/news /usr/ucb /usr/bin /bin /usr/local/bin /etc /usr/etc)
set file=/tmp/.nntp.ps
echo Checking processes for existing nntplinks...
/bin/ps ax |& grep nntplink |& egrep -v grep\|nntplink-kill |& /bin/tee $file
echo ...done.
echo Nuking NNTP links...
/bin/awk '{ print $1 }' < $file | /usr/.attbin/xargs /bin/kill -9
echo ...done.
/bin/rm -f $file
exit 0