Minor - Update descriptions
Apply to whiptail descriptions also.
This commit is contained in:
parent
6c0a8a4337
commit
49ded54306
|
@ -177,7 +177,7 @@ verifyFreeDiskSpace() {
|
||||||
# - Insufficient free disk space
|
# - Insufficient free disk space
|
||||||
elif [[ $existing_free_kilobytes -lt $required_free_kilobytes ]]; then
|
elif [[ $existing_free_kilobytes -lt $required_free_kilobytes ]]; then
|
||||||
|
|
||||||
whiptail --msgbox --backtitle "Insufficient Disk Space" --title "Insufficient Disk Space" "\nYour system appears to be low on disk space. pi-hole recomends a minimum of $required_free_kilobytes Bytes.\nYou only have $existing_free_kilobytes Free.\n\nIf this is a new install you may need to expand your disk.\n\nTry running:\n 'sudo raspi-config'\nChoose the 'expand file system option'\n\nAfter rebooting, run this installation again.\n\ncurl -L install.pi-hole.net | bash\n" $r $c
|
whiptail --msgbox --backtitle "Insufficient Disk Space" --title "Insufficient Disk Space" "\nYour system appears to be low on disk space. pi-hole recomends a minimum of $required_free_kilobytes KiloBytes.\nYou only have $existing_free_kilobytes KiloBytes free.\n\nIf this is a new install you may need to expand your disk.\n\nTry running:\n 'sudo raspi-config'\nChoose the 'expand file system option'\n\nAfter rebooting, run this installation again.\n\ncurl -L install.pi-hole.net | bash\n" $r $c
|
||||||
echo "$existing_free_kilobytes is less than $required_free_kilobytes"
|
echo "$existing_free_kilobytes is less than $required_free_kilobytes"
|
||||||
echo "Insufficient free space, exiting..."
|
echo "Insufficient free space, exiting..."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue