1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

add color

This commit is contained in:
Jerry Vonau 2020-08-06 11:06:15 -05:00
parent bd2cd24777
commit ee57061bed

View file

@ -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