mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-19 08:53:55 +08:00
23 lines
479 B
Bash
Executable File
23 lines
479 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.6"
|
|
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 ###
|