mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	add color
This commit is contained in:
		
							parent
							
								
									bd2cd24777
								
							
						
					
					
						commit
						ee57061bed
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -33,11 +33,13 @@ else
 | 
			
		|||
    fi
 | 
			
		||||
fi
 | 
			
		||||
if [ "$WARN" = "1" ]; then
 | 
			
		||||
    echo "You should reboot now"
 | 
			
		||||
    echo -e " \033[31;5mFirmware has been replaced\033[0m"
 | 
			
		||||
    echo -e " \033[31;5mReboot is required to activate\033[0m"
 | 
			
		||||
    touch /.fw_replaced
 | 
			
		||||
    #echo "rebooting..."
 | 
			
		||||
    #reboot
 | 
			
		||||
else
 | 
			
		||||
    echo -e " Firmware check \033[32;5mPASSED\033[0m"
 | 
			
		||||
    if [ -f /.fw_replaced ]; then
 | 
			
		||||
        rm /.fw_replaced
 | 
			
		||||
    fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue