#!/bin/sh
#
# setup misc bloom-beacon-specific things
# kolya@mit.edu, 14 April 2002

r=/afs/sipb/machine/bloom-beacon
c=/var/spool/cron/crontabs
cn=$c/news

cp $r/misc/mit-hosts-update /news/bin
chown news:news /news/bin/mit-hosts-update
mkdir /news/mit-hosts
chown news:news /news/mit-hosts
if [ -f $cn ]; then
  grep -v /news/bin/mit-hosts-update $cn > $cn.n
  mv $cn.n $cn
fi
echo '3 12 * * * /news/bin/mit-hosts-update' >> $cn

