mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-10 12:53:01 +02:00
UI fixes
This commit is contained in:
@@ -16,16 +16,19 @@ if [ ${hddExists} -eq 0 ]; then
|
|||||||
if [ ${noPartition} -eq 1 ]; then
|
if [ ${noPartition} -eq 1 ]; then
|
||||||
echo "***********************************************************"
|
echo "***********************************************************"
|
||||||
echo "WARNING: HDD HAS NO PARTITIONS"
|
echo "WARNING: HDD HAS NO PARTITIONS"
|
||||||
|
echo "***********************************************************"
|
||||||
echo "Press ENTER to create a Partition - or CTRL+C to abort"
|
echo "Press ENTER to create a Partition - or CTRL+C to abort"
|
||||||
read key
|
read key
|
||||||
|
echo "Creating Partition ..."
|
||||||
sudo parted -s /dev/sda unit s mkpart primary `sudo parted /dev/sda unit s print free | grep 'Free Space' | tail -n 1`
|
sudo parted -s /dev/sda unit s mkpart primary `sudo parted /dev/sda unit s print free | grep 'Free Space' | tail -n 1`
|
||||||
|
echo "DONE."
|
||||||
sleep 3
|
sleep 3
|
||||||
fi
|
else
|
||||||
|
|
||||||
echo "***********************************************************"
|
echo "***********************************************************"
|
||||||
echo "WARNING: NO HDD FOUND -> Shutdown, connect HDD and restart."
|
echo "WARNING: NO HDD FOUND -> Shutdown, connect HDD and restart."
|
||||||
echo "***********************************************************"
|
echo "***********************************************************"
|
||||||
exit
|
exit
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# check data from _bootstrap.sh that was running on device setup
|
# check data from _bootstrap.sh that was running on device setup
|
||||||
|
Reference in New Issue
Block a user