mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-27 02:01:53 +01:00
expand FS moved
This commit is contained in:
parent
88a23c6d50
commit
e4b927aa15
@ -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
|
||||
|
@ -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
|
||||
|
@ -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'"
|
||||
|
Loading…
x
Reference in New Issue
Block a user