Files
dragonpilot/launch_env.sh
dragonpilot 7ee7cb59b3 dragonpilot beta3
date: 2023-12-23T21:19:29
commit: 38612b14f1a8aa49d1c6ef61bd67f5a095abb3f9
2023-12-23 21:19:44 -07: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="9.1"
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 ###