1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 12:12:12 +00:00
This commit is contained in:
George Hunt 2020-03-17 03:43:47 +00:00 committed by Jerry Vonau
parent ad5d4c4f73
commit eebd14581e

View file

@ -14,8 +14,8 @@ fi
OS="unknown" # will be overridden below, if /etc/iiab/iiab.env is legit
if [ -f /etc/iiab/iiab.env ]; then
echo "Reading /etc/iiab/iiab.env"
source /etc/iiab/iiab.env
STAGE=0
source /etc/iiab/iiab.env
if grep -q STAGE= /etc/iiab/iiab.env ; then
echo -e "\nExtracted STAGE=$STAGE (counter) from /etc/iiab/iiab.env"
if ! [ "$STAGE" -eq "$STAGE" ] 2> /dev/null; then
@ -29,6 +29,7 @@ if [ -f /etc/iiab/iiab.env ]; then
echo -e "\nIIAB Stage 3 not complete."
echo -e "\nPlease run: ./iiab-install"
exit 1
fi
else
echo -e "\nEXITING: STAGE (counter) not found"
echo -e "\nIIAB not installed."