Files
dragonpilot/launch_env.sh
dragonpilot 1abc7d7daa dragonpilot beta3
date: 2023-07-26T22:20:36
commit: c6d842c412052be1985b63d683c63be9dcb2b0eb
2023-07-26 22:20:51 +08:00

27 lines
531 B
Bash
Executable File

#!/usr/bin/bash
export OMP_NUM_THREADS=1
export MKL_NUM_THREADS=1
export NUMEXPR_NUM_THREADS=1
export OPENBLAS_NUM_THREADS=1
export VECLIB_MAXIMUM_THREADS=1
if [ -z "$AGNOS_VERSION" ]; then
export AGNOS_VERSION="8.2"
fi
if [ -z "$PASSIVE" ]; then
export PASSIVE="1"
fi
export STAGING_ROOT="/data/safe_staging"
### dp_stock_begin ###
if [ -f /data/media/0/dp_nav_mapbox_token ]; then
token=$(cat /data/media/0/dp_nav_mapbox_token)
if [ "$token" != "" ]; then
export MAPBOX_TOKEN=$token
fi
fi
### dp_stock_end ###