🔨 Added echo output for fake flush

This commit is contained in:
Geoff Murphy 2025-05-18 09:42:56 +10:00
parent cb37a47414
commit ebaa1676f7

View file

@ -199,8 +199,12 @@ _fake_disable () { #------[ Disable Daeon at Startup ]
# │ Other Functions │
# └───────────────────────────────────────┘
_fake_flush () { #--------[ Flush System Cache ]
MEM_START="$(fake -h | grep Mem | awk '{print $4}')"
echo ""
sudo -u root $ENV_SHELL -c "sync; echo 3 > /proc/sys/vm/drop_caches"
MEM_END="$(fake -h | grep Mem | awk '{print $4}')"
echo ""
echo "Free Memory: $MEM_START -> $MEM_END"
echo ""
}
_fake_upgrade () {