mirror of
https://github.com/Misterblue/opensim-docker.git
synced 2026-07-31 04:02:17 +00:00
Add configuration to allow internal and external configuration.
Default to external files (mounted 'config/').
This commit is contained in:
@@ -7,7 +7,7 @@ OPENSIMBIN=${OPENSIMBIN:-/home/opensim/opensim/bin}
|
||||
|
||||
# For this image, CONFIG_NAME is the configuration being used
|
||||
CONFIG_NAME=${CONFIG_NAME:-standalone}
|
||||
CONFIGDIR=${OPENSIMBIN}/config/${CONFIG_NAME}
|
||||
CONFIGDIR=${OPENSIMBIN}/config/config-${CONFIG_NAME}
|
||||
|
||||
cd "$CONFIGDIR"
|
||||
source ../scripts/setEnvironment.sh
|
||||
|
||||
Reference in New Issue
Block a user