1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 12:12:12 +00:00

in fl.yml

This commit is contained in:
Jerry Vonau 2017-11-10 16:18:05 -06:00
parent bac2012f05
commit 3659de2caf

View file

@ -70,15 +70,7 @@ fi
# Stage 0 will always be run. From there on up to Stage 9 we keep a counter
# (in /etc/iiab/iiab.env) of the highest completed Stage. Avoid repetition!
STAGE=0
if [ ! -f /etc/iiab/iiab.env ]; then
mkdir -p /etc/iiab
echo "Ran 'mkdir -p /etc/iiab'"
# ./runtags and Admin Console currently require /etc/iiab/config_vars.yml (in future they may be self-sufficient?)
if [ ! -f /etc/iiab/config_vars.yml ]; then
echo "{}" > /etc/iiab/config_vars.yml
echo "Created stub /etc/iiab/config_vars.yml"
fi
else
if [ -f /etc/iiab/iiab.env ]; then
if [[ `grep STAGE= /etc/iiab/iiab.env` ]]; then
source /etc/iiab/iiab.env
echo "Extracted STAGE="$STAGE" (counter) from /etc/iiab/iiab.env"