1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00
This commit is contained in:
Jerry Vonau 2017-11-20 14:39:10 -06:00
parent 3c593c2ca3
commit 5b31262781

View file

@ -87,8 +87,7 @@ if [ -f /etc/iiab/iiab.env ]; then
STAGE=0
rm /etc/iiab/iiab.env
echo "Removed /etc/iiab/iiab.env effectively resetting STAGE (counter)."
fi
if [ "$1" == "--reinstall" ]; then
elif [ "$1" == "--reinstall" ]; then
STAGE=0
sed -i 's/^STAGE=.*/STAGE=0/' /etc/iiab/iiab.env
echo "Wrote STAGE=0 (counter) to /etc/iiab/iiab.env"