MAGENTA=5
CYAN=6
WHITE=7
-NORMAL=15
# Bold definition (second parameter to termput setaf)
BOLD=1
NOBOLD=0
CI="$RED" # Capital I color (press I to enter interactive startup)
CRESMAN="$GREEN" # "Resource Manager" color
CHARS="" # Characters displayed on the beginning of show line
-CCHARS="$NORMAL" # Color of these characters (look at /etc/sysconfig/init-colors.gentoo example)
+CCHARS="$WHITE" # Color of these characters (look at /etc/sysconfig/init-colors.gentoo example)
# Source configuration if available - may override default values
[ -r /etc/sysconfig/init-colors ] && . /etc/sysconfig/init-colors
is_yes "$COLOR_INIT" && echo -ne "\033[${ISBOLD};3${2}m"
;;
op)
- termput setaf $NORMAL
+ echo -ne "\033[0m"
;;
esac
else
is_yes "$COLOR_INIT" && tput setaf "$2"
;;
op)
- termput setaf $NORMAL
+ tput sgr0
;;
esac
fi
CI="$RED" # Capital I color (press I to enter interactive startup)
CRESMAN="$GREEN" # "Resource Manager" color
CHARS="" # Characters displayed on the beginning of show line
-CCHARS="$NORMAL" # Color of these characters (look at /usr/share/doc/rc-scripts-*/init-colors.gentoo.gz example)
+CCHARS="$WHITE" # Color of these characters (look at /usr/share/doc/rc-scripts-*/init-colors.gentoo.gz example)