mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 01:40:16 +01:00
allow more than one config, also complementing a base config (#3198)
This commit is contained in:
parent
1a8a6baca2
commit
24e0b40f50
@ -95,7 +95,10 @@ set -e
|
||||
export NODE_OPTIONS="--no-deprecation"
|
||||
|
||||
# load config
|
||||
set -a; source /mnt/hdd/app-data/stacking-sats-kraken/.env; set +a
|
||||
env="/mnt/hdd/app-data/stacking-sats-kraken/.env"
|
||||
set -a; . ${env}; set +a
|
||||
# alternative config
|
||||
test -f "${env}-"${2} && { set -a; . "${env}-"${2}; set +a; }
|
||||
|
||||
# switch directory
|
||||
cd $(cd `dirname $0` && pwd)
|
||||
|
Loading…
Reference in New Issue
Block a user