feat: run custom commands
This commit is contained in:
		
							parent
							
								
									2bad78fea9
								
							
						
					
					
						commit
						9fd23a6a2b
					
				|  | @ -48,11 +48,17 @@ software_install() { | ||||||
| 
 | 
 | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | custom_commands() { | ||||||
|  | 	for((i=0; i<${#COMMANDS[@]}; i++)); do | ||||||
|  | 	  eval ${COMMANDS[i]}; | ||||||
|  |     done | ||||||
|  | } | ||||||
|  | 
 | ||||||
| net_wait | net_wait | ||||||
| 
 | 
 | ||||||
| import_config | import_config | ||||||
| services_restart |  | ||||||
| 
 |  | ||||||
| software_install | software_install | ||||||
|  | services_restart | ||||||
|  | custom_commands | ||||||
| 
 | 
 | ||||||
| exit 0 | exit 0 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user