aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-07-18 17:34:49 +0200
committerTom Gundersen <teg@jklm.no>2012-07-18 17:34:49 +0200
commit1a57fcba0bcf13fcd0b99a14619e4e8992b52c58 (patch)
tree26a8e6a48cccea156c0583b7d81e0d5ee9ffe192 /functions
parentced7f5b6dc5fc68bd9072e967ba2c5a4094cf1f2 (diff)
downloadinitscripts-1a57fcba0bcf13fcd0b99a14619e4e8992b52c58.tar.xz
USECOLOR: default to 'yes' rather than 'no'
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 6f29a6f..b231eca 100644
--- a/functions
+++ b/functions
@@ -723,7 +723,7 @@ else
fi
# set colors
-if [[ $USECOLOR = [yY][eE][sS] ]]; then
+if [[ $USECOLOR != [nN][oO] ]]; then
if tput setaf 0 &>/dev/null; then
C_CLEAR=$(tput sgr0) # clear text
C_MAIN=${C_CLEAR}$(tput bold) # main text