POSTIN
/bin/sh
# only do this if we have a working network and if the config file contains just one line if [ "`cat /etc/razor/razor-agent.conf|wc -l`" -eq "1" ] ; then if /usr/sbin/hping -c 4 -p 2703 --tcpexitcode discovery.razor.cloudmark.com >/dev/null 2>&1; then /usr/bin/razor-admin -d -create -home=/etc/razor else echo "You might want to run \"/usr/bin/razor-admin -d -create -home=/etc/razor\" when your network works" fi fi