mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Disk Space Check Final
This commit is contained in:
@@ -189,7 +189,7 @@ rc2_to_rc3() {
|
||||
space_check() {
|
||||
# Check to see if there is enough space
|
||||
CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}')
|
||||
if [ "$CURRENTSPACE" -lt "1000" ]; then
|
||||
if [ "$CURRENTSPACE" -lt "10" ]; then
|
||||
read -rsn1 -p"You are low on disk space. Upgrade will try and clean up space. Press any key to continue or Ctrl+c to exit";
|
||||
clean_dockers
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user