🔨 Added echo output for fake flush
This commit is contained in:
		
							parent
							
								
									cb37a47414
								
							
						
					
					
						commit
						ebaa1676f7
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -199,8 +199,12 @@ _fake_disable () { #------[ Disable Daeon at Startup ] | ||||||
| #    │            Other Functions            │ | #    │            Other Functions            │ | ||||||
| #    └───────────────────────────────────────┘ | #    └───────────────────────────────────────┘ | ||||||
| _fake_flush () { #--------[ Flush System Cache ] | _fake_flush () { #--------[ Flush System Cache ] | ||||||
|  |     MEM_START="$(fake -h | grep Mem | awk '{print $4}')" | ||||||
|     echo "" |     echo "" | ||||||
|     sudo -u root $ENV_SHELL -c "sync; echo 3 > /proc/sys/vm/drop_caches" |     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 "" |     echo "" | ||||||
| } | } | ||||||
| _fake_upgrade () { | _fake_upgrade () { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue