All pastes #1948255 Raw Edit

ml|

public text v1 · immutable
#1948255 ·published 2010-09-24 16:57 UTC
rendered paste body
#!/bin/bashOUT_DIR=${1}if [ "" = "${OUT_DIR}" ]then  OUT_DIR=/etc/unboundficd ${OUT_DIR}wget 'http://secspider.cs.ucla.edu/trust-anchors.conf' --quiet -O ./trust-anchors.conf.tmpif test 0 -ne $?then  echo "Unable to grab TAs"else  cmp ./trust-anchors.conf ./trust-anchors.conf.tmp >/dev/null  if test 0 -ne $?  then    cp ./trust-anchors.conf.tmp ./trust-anchors.conf    /etc/init.d/unbound restart  fi  rm -f ./trust-anchors.conf.tmpfi