73deecf28e
depends on which version of the airport ("graphite" or "snow") you own.
26 lines
346 B
Bash
26 lines
346 B
Bash
#! /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 %%PREFIX%%/bin/javavm -jar %%PREFIX%%/share/java/${file}.jar
|
|
|
|
exit 1
|