...
|
...
|
@@ -92,6 +92,7 @@ function fgfs () {
|
92
|
92
|
############ SERVEUR MULTIPLAY ?
|
93
|
93
|
elif set -o BASH_REMATCH && [[ $fgfs_arg =~ "^mp([0-9]+)$" ]]; then
|
94
|
94
|
fgfs_args+=("--multiplay=out,10,mpserver${BASH_REMATCH[2]}.flightgear.org,5000")
|
|
95
|
+ fgfs_args+=("--callsign=f-zakh")
|
95
|
96
|
test -z "$bash_rematch_set" && set +o BASH_REMATCH
|
96
|
97
|
|
97
|
98
|
############ DEMANDE DE TRACE DE VOL ?
|
...
|
...
|
@@ -127,7 +128,7 @@ function fgfs () {
|
127
|
128
|
sed -rn "/<parkingList/,/parkingList>/s/^.* name=\"([^\"]+).*$/\1/p" ${airport_data}.groundnet.xml
|
128
|
129
|
return
|
129
|
130
|
elif sed -rn "/<parkingList/,/parkingList>/p" ${airport_data}.groundnet.xml | grep -q "name=\"${candidate_parking}\""; then
|
130
|
|
- fgfs_args+=("--parking-id='$candidate_parking'")
|
|
131
|
+ fgfs_args+=("--parkpos='$candidate_parking'")
|
131
|
132
|
fi
|
132
|
133
|
elif test -n "$candidate_runway"; then
|
133
|
134
|
if test $candidate_runway = '?'; then
|