mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Increase disk space to verify...
.. was missing a couple of zeros, and not verifying enough space! Fixes #384
This commit is contained in:
parent
babca8d47b
commit
fad5fafa32
1 changed files with 2 additions and 2 deletions
|
@ -117,8 +117,8 @@ welcomeDialogs() {
|
|||
|
||||
|
||||
verifyFreeDiskSpace() {
|
||||
# 25MB is the minimum space needed (20MB install + 5MB one day of logs.)
|
||||
requiredFreeBytes=51200
|
||||
# 50MB is the minimum space needed (45MB install (includes web admin bootstrap/jquery libraries etc) + 5MB one day of logs.)
|
||||
requiredFreeBytes=5000000
|
||||
|
||||
existingFreeBytes=`df -lk / 2>&1 | awk '{print $4}' | head -2 | tail -1`
|
||||
if ! [[ "$existingFreeBytes" =~ ^([0-9])+$ ]]; then
|
||||
|
|
Loading…
Reference in a new issue