diff options
Diffstat (limited to 'src/run')
-rwxr-xr-x | src/run | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -106,7 +106,8 @@ gateway=0 #vehicle gateway disabled lm=0 #layer manager disabled wm="" #to store the current window manager (in case of start with the layer manager) verbose=0 #no debug or log messages displayed -center="4612 N 0608 E" +center="4612 N 0608 E" #geneva +config_file=fsa_switzerland.conf #switzerland settings CUR_DIR=$PWD BIN_DIR=$CUR_DIR/build @@ -116,6 +117,7 @@ SCRIPT_DIR=$SRC_DIR/script HMI_DIR=$SRC_DIR/hmi app=$HMI_DIR/qml/NavigationApp.qml # hmi panel launched by default STYLE_SHEETS_GENERATED_INDICATOR=$HMI_DIR/style-sheets/the-style-sheets-have-been-generated-css.js +CONFIG_DIR=$HMI_DIR/config REPLAYER_LOG_FILE=none export REPLAYER_LOG_FILE @@ -172,13 +174,16 @@ do c) #set the map center case "$OPTARG" in paris) - center="2.34 48.86" + center="2.34 48.84" + config_file=fsa_paris.conf ;; tokyo) center="139.74 35.70" + config_file=fsa_tokyo.conf ;; london) center="-0.13 51.51" + config_file=fsa_london.conf ;; [0-9-]*) center=$OPTARG @@ -258,6 +263,9 @@ export NAVIT_GRAPHICS='sdl' # set the language to en_US for navit export LANGUAGE=en_US +# set the config file for Qt +cp $CONFIG_DIR/$config_file $HOME/.config/navigation/fsa.conf + # start the automotive message broker and wait for dbus service cd $AUTOMOTIVE_MESSAGE_BROKER_BIN_DIR if [ "$verbose" = "1" ] |