mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +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…
Reference in a new issue