Color Boot

From The World according to Vissie
Jump to navigation Jump to search

In the log_end_message function (for me line 135)

  • Replace:
echo "OK"
  • With
$TPUT setaf  4 # blue
printf '[ '
$TPUT setaf  2 # green
printf OK
$TPUT setaf  4 # blue
echo ' ]'
$TPUT op  # normal
  • Important notations:
  1. Make sure there are two (2) spaces between setaf / op and the # sign... if you don't - you'll need a rescue cd to get in and make the changes.
  2. If the cursor wraps to the next line, it will flash as blue... don't worry, it goes back to white.