dont prevent raid off

This commit is contained in:
rootzoll 2020-01-15 18:22:31 +01:00
parent f98f4c6953
commit a754ada08e
2 changed files with 2 additions and 4 deletions

View File

@ -104,6 +104,8 @@ if [ ${hddGotBlockchain} -eq 0 ]; then
exit 1
fi
# now partition/format HDD
echo
echo "# --> Formatting HDD/SSD ..."

View File

@ -687,10 +687,6 @@ if [ "$1" = "raid" ]; then
fi
>&2 echo "# RAID - Adding raid drive to RaspiBlitz data drive"
elif [ "$2" = "off" ]; then
if [ ${isRaid} -eq 0 ]; then
>&2 echo "# OK - already OFF"
exit
fi
>&2 echo "# RAID - Removing raid drive to RaspiBlitz data drive"
else
>&2 echo "# possible 2nd parameter is 'on' or 'off'"