mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Update gamuntu_setup.sh
This commit is contained in:
		
							parent
							
								
									0040404a16
								
							
						
					
					
						commit
						97f2f6ab43
					
				| 
						 | 
					@ -10,6 +10,7 @@ CROSS='\033[1;31m\xE2\x9D\x8C\033[0m'
 | 
				
			||||||
CHECKMARK='\033[0;32m\xE2\x9C\x94\033[0m'
 | 
					CHECKMARK='\033[0;32m\xE2\x9C\x94\033[0m'
 | 
				
			||||||
RETRY_NUM=5
 | 
					RETRY_NUM=5
 | 
				
			||||||
RETRY_EVERY=3
 | 
					RETRY_EVERY=3
 | 
				
			||||||
 | 
					NUM=$RETRY_NUM
 | 
				
			||||||
trap die ERR
 | 
					trap die ERR
 | 
				
			||||||
trap 'die "Script interrupted."' INT
 | 
					trap 'die "Script interrupted."' INT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -105,4 +106,4 @@ systemctl daemon-reload
 | 
				
			||||||
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
 | 
					systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
 | 
					echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
 | 
				
			||||||
rm -rf /gamuntu_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
 | 
					rm -rf /gamuntu_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue