mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-20 05:22:03 +08:00
1abc7d7daa
date: 2023-07-26T22:20:36 commit: c6d842c412052be1985b63d683c63be9dcb2b0eb
27 lines
531 B
Bash
Executable File
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 ###
|