mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
elif
This commit is contained in:
parent
3c593c2ca3
commit
5b31262781
1 changed files with 1 additions and 2 deletions
|
@ -87,8 +87,7 @@ if [ -f /etc/iiab/iiab.env ]; then
|
||||||
STAGE=0
|
STAGE=0
|
||||||
rm /etc/iiab/iiab.env
|
rm /etc/iiab/iiab.env
|
||||||
echo "Removed /etc/iiab/iiab.env effectively resetting STAGE (counter)."
|
echo "Removed /etc/iiab/iiab.env effectively resetting STAGE (counter)."
|
||||||
fi
|
elif [ "$1" == "--reinstall" ]; then
|
||||||
if [ "$1" == "--reinstall" ]; then
|
|
||||||
STAGE=0
|
STAGE=0
|
||||||
sed -i 's/^STAGE=.*/STAGE=0/' /etc/iiab/iiab.env
|
sed -i 's/^STAGE=.*/STAGE=0/' /etc/iiab/iiab.env
|
||||||
echo "Wrote STAGE=0 (counter) to /etc/iiab/iiab.env"
|
echo "Wrote STAGE=0 (counter) to /etc/iiab/iiab.env"
|
||||||
|
|
Loading…
Reference in a new issue