#!/bin/bash

if [ ! -n "$3" ]
then
  echo "usage: `basename $0` nodeURL portName [ON|OFF]"
  exit 1
fi  
echo number of args: $#

# Script executes moos.operations.utils.SwitchHiVoltage.main()
$JAVA -cp $SIAM_CLASSPATH \
-Djava.security.policy=$SIAM_HOME/properties/policy \
-Dlog4j.threshold=$LOG4J_THRESHOLD \
moos.operations.utils.SwitchHiVoltage $*

