Browse Source

expand FS moved

#146
rootzoll 7 years ago
parent
commit
e4b927aa15
  1. 1
      home.admin/10setupBlitz.sh
  2. 2
      home.admin/70initLND.sh
  3. 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

2
home.admin/70initLND.sh

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

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