|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T n
Length: 927 (0x39f) Types: TextFile Names: »nntplinks«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit └─⟦f91e15335⟧ »EurOpenD3/news/nntp/nntplink2.0.0.tar.Z« └─⟦2c70c5e6b⟧ └─⟦this⟧ »nntplinks«
#!/bin/csh -f # # A script useful at boot time to start up all NNTP links. # # If you are going to use this script, make sure that # AUTOBACKGROUND is defined in conf.h # set path=(/usr/lib/news /usr/ucb /usr/bin /bin /usr/local/bin /etc /usr/etc) set file=/tmp/.nntp.ps echo -n Checking processes for existing nntplinks... /bin/ps ax |& grep nntplink |& grep -v grep >& $file echo done. echo -n "Opening new NNTP links: " cd /usr/spool/batch # All hosts with which we exchange NNTP are listed here. foreach host ( \ ucsd.edu \ mailrus.cc.umich.edu \ bloom-beacon.mit.edu \ gem.mps.ohio-state.edu \ nisca.ircc.ohio-state.edu \ oscsuna.osc.edu \ uunet.uu.net \ ) grep -s $host $file if ($status == 1) then echo -n "$host, " # Shut off stdout/stderr; we'll get logging info. nntplink $host':'$host >& /dev/null # Let's not overdo it _too_ much. sleep 1 endif end /bin/rm -f $file echo done. exit 0