#!/bin/bash # $HeadURL$ $LastChangedRevision$ PROGNAME=`basename $0` echo "setting up environment ..." export ROCON_CFG_FILE=/tmp/rocon.conf echo "creating config file ..." mkdir etc cat > $ROCON_CFG_FILE <<'EOF' somehost:SomeHosts,AllHosts somehost2:SomeOtherHosts,AllHosts EOF echo "checking -r ..." rocon -r echo "checking -w ..." rocon -w <