expand FS moved

This commit is contained in:
rootzoll 2018-07-28 14:42:58 +02:00
parent 88a23c6d50
commit e4b927aa15
3 changed files with 6 additions and 2 deletions

View File

@ -91,7 +91,6 @@ if [ ! -f "home/admin/.setup" ]; then
sudo apt-get update
sudo apt-get upgrade -f -y --force-yes
echo "OK - System is now up to date"
sudo raspi-config --expand-rootfs
fi
# the HDD is already ext4 formated and called blockchain

View File

@ -27,7 +27,7 @@ while [ ${ready} -eq 0 ]
if [ ${ready} -eq 1 ]; then
echo "${sync_percentage}"
else
echo "waiting to start sync"
echo "waiting to start sync"
ready=0
fi
fi

View File

@ -35,6 +35,11 @@ fi
# mark setup is done
echo "90" > /home/admin/.setup
# expand FS of SD
echo "*** Expand RootFS ***"
sudo raspi-config --expand-rootfs
echo ""
# set the hostname inputed on initDialog
hostname=`cat .hostname`
echo "Setting new network hostname '$hostname'"