Browse Source

expand FS moved

#146
rootzoll 7 years ago
parent
commit
e4b927aa15
  1. 1
      home.admin/10setupBlitz.sh
  2. 5
      home.admin/90finishSetup.sh

1
home.admin/10setupBlitz.sh

@ -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

5
home.admin/90finishSetup.sh

@ -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…
Cancel
Save