Skip to content
Snippets Groups Projects
Commit d9b143f2 authored by James Goppert's avatar James Goppert
Browse files

Added aircraft option.

parent a202e99b
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
#--native-ctrls=socket,out,119,,5501,udp \ #--native-ctrls=socket,out,119,,5501,udp \
#--native-ctrls=socket,in,120,,5502,udp \ #--native-ctrls=socket,in,120,,5502,udp \
if [[ $# != 2 ]] if [[ $# != 3 ]]
then then
echo usage: $0 ip-address num echo usage: $0 ip-address num aircraft
exit exit
fi fi
ip=$1 ip=$1
num=$2 num=$2
aircraft=$3
port=$((5000+$num)) port=$((5000+$num))
callsign=f-$num callsign=f-$num
echo callsign: $callsign echo callsign: $callsign
...@@ -17,7 +18,7 @@ portFdm=5500+$num ...@@ -17,7 +18,7 @@ portFdm=5500+$num
#--native-fdm=socket,in,120,,portFdm,udp \ #--native-fdm=socket,in,120,,portFdm,udp \
fgfs \ fgfs \
--callsign=$callsign \ --callsign=$callsign \
--aircraft=T38 \ --aircraft=$aircraft \
--geometry=400x300 \ --geometry=400x300 \
--multiplay=in,10,$ip,$port \ --multiplay=in,10,$ip,$port \
--multiplay=out,10,mpserver05.flightgear.org,5000 \ --multiplay=out,10,mpserver05.flightgear.org,5000 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment