... | ... |
@@ -402,6 +402,17 @@ function fgfs () { |
402 | 402 |
return 1 |
403 | 403 |
fi |
404 | 404 |
;; |
405 |
+ --map|--lnm) |
|
406 |
+ if test \ |
|
407 |
+ -x $fgfs_install/littlefgconnect/"Little FGconnect"/littlefgconnect \ |
|
408 |
+ -a -r $FGADDON/Addons/littlenavmap/FGData/Protocol/littlenavmap.xml; then |
|
409 |
+ nohup sh -c "$fgfs_install/littlefgconnect/Little\ FGconnect/littlefgconnect" > /dev/null 2>&1 & |
|
410 |
+ fgfs_args+=("--addon=$FGADDON/Addons/littlenavmap") |
|
411 |
+ else |
|
412 |
+ echo "can't find Little FGconnect" |
|
413 |
+ return 1 |
|
414 |
+ fi |
|
415 |
+ ;; |
|
405 | 416 |
*) |
406 | 417 |
fgfs_args+=($fgfs_arg);; |
407 | 418 |
esac |