Browse Source

UI fixes

dev
rootzoll 6 years ago
parent
commit
e7b7172d7a
  1. 7
      home.admin/00mainMenu.sh

7
home.admin/00mainMenu.sh

@ -16,17 +16,20 @@ if [ ${hddExists} -eq 0 ]; then
if [ ${noPartition} -eq 1 ]; then
echo "***********************************************************"
echo "WARNING: HDD HAS NO PARTITIONS"
echo "***********************************************************"
echo "Press ENTER to create a Partition - or CTRL+C to abort"
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`
echo "DONE."
sleep 3
fi
else
echo "***********************************************************"
echo "WARNING: NO HDD FOUND -> Shutdown, connect HDD and restart."
echo "***********************************************************"
exit
fi
fi
# check data from _bootstrap.sh that was running on device setup
bootstrapInfoExists=$(ls $infoFile | grep -c '.info')

Loading…
Cancel
Save