mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-30 12:36:07 +02:00
#1765 fix sd card extension on fresh setup
This commit is contained in:
parent
ea81de7d4d
commit
7e4de99c12
@ -31,11 +31,10 @@ echo "Setting the Name/Alias/Hostname .."
|
||||
sudo /home/admin/config.scripts/lnd.setname.sh ${hostname}
|
||||
|
||||
# expanding the root of the sd card
|
||||
|
||||
if [ "${baseImage}" = "raspbian" ]; then
|
||||
if [ "${baseimage}" = "raspbian" ]; then
|
||||
sudo raspi-config --expand-rootfs
|
||||
sudo sed -i "s/^fsexpanded=.*/fsexpanded=1/g" /home/admin/raspiblitz.info
|
||||
elif [ "${baseImage}" = "armbian" ]; then
|
||||
elif [ "${baseimage}" = "armbian" ]; then
|
||||
sudo /usr/lib/armbian/armbian-resize-filesystem start
|
||||
sudo sed -i "s/^fsexpanded=.*/fsexpanded=1/g" /home/admin/raspiblitz.info
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user