mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-09-30 19:33:42 +08:00
otisserv mapbox token support
This commit is contained in:
@@ -11,3 +11,12 @@ if [ -z "$AGNOS_VERSION" ]; then
|
||||
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 ###
|
||||
|
||||
Reference in New Issue
Block a user