#!/bin/sh
#
# GUI to Poll a Modem or TCP Station
#
# Usage: pollgui [-d debuglevel] [-l logfile]
#

#
# Arguments are passed this way to preserve the grouping. Example. Need to
# prevents  -S 'now - 1 day' from being passed as 5 separate args.
#
SCRIPT=$(readlink -f "$0")
# Absolute path this script is in, thus /home/user/bin
APP_PATH=$(dirname "$SCRIPT")

cmd="${APP_PATH}/decj decodes.polling.PollGUI "
for a
do
	cmd=`echo $cmd \"$a\"`
done
eval $cmd
