#! /bin/sh

case $0 in
	*airport)
		file=AirportBaseStationConfig
	;;
	*airport2)
		file=Airport2BaseStationConfig
	;;
	*hostmon)
		file=HostMonitor
	;;
	*linkmon)
		file=LinkMonitor
	;;
	*airmodem)
		file=AirportModemUtility
	;;
	*)
	echo "Unknown command"
	exit 1
esac

exec /usr/local/bin/javavm -jar /usr/local/share/java/${file}.jar

exit 1
