mirror of https://github.com/tteck/Proxmox.git
				
				
				
			
							parent
							
								
									92f11b7660
								
							
						
					
					
						commit
						c9e3b72dfa
					
				| 
						 | 
					@ -15,7 +15,7 @@ CL=$(echo "\033[m")
 | 
				
			||||||
name=$(hostname)
 | 
					name=$(hostname)
 | 
				
			||||||
clear
 | 
					clear
 | 
				
			||||||
header_info
 | 
					header_info
 | 
				
			||||||
echo -e "${BL}[Info]${GN} Cleaning $name${CL}"
 | 
					echo -e "${BL}[Info]${GN} Cleaning $name${CL} \n"
 | 
				
			||||||
cache=$(find /var/cache/ -type f)
 | 
					cache=$(find /var/cache/ -type f)
 | 
				
			||||||
    if [[ -z "$cache" ]]; then
 | 
					    if [[ -z "$cache" ]]; then
 | 
				
			||||||
    echo -e "It appears there are no cached files on your system. \n"
 | 
					    echo -e "It appears there are no cached files on your system. \n"
 | 
				
			||||||
| 
						 | 
					@ -34,7 +34,7 @@ cache=$(find /var/cache/ -type f)
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
clear
 | 
					clear
 | 
				
			||||||
header_info
 | 
					header_info
 | 
				
			||||||
echo -e "${BL}[Info]${GN} Cleaning $name${CL}"
 | 
					echo -e "${BL}[Info]${GN} Cleaning $name${CL} \n"
 | 
				
			||||||
logs=$(find /var/log/ -type f)
 | 
					logs=$(find /var/log/ -type f)
 | 
				
			||||||
    if [[ -z "$logs" ]]; then
 | 
					    if [[ -z "$logs" ]]; then
 | 
				
			||||||
    echo -e "It appears there are no logs on your system. \n"
 | 
					    echo -e "It appears there are no logs on your system. \n"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue