diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-11-24 17:05:51 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-11-24 17:06:22 -0500 |
commit | 78e0b65c48b74616eff548cfcae7f05af031deb1 (patch) | |
tree | d10e5e8233e04c2ea9328e17fc03fae30948ca5d /etc | |
parent | 3e7dfc05e8b71ab51f78614af976c0f1fe62f302 (diff) | |
download | pfsense-78e0b65c48b74616eff548cfcae7f05af031deb1.zip pfsense-78e0b65c48b74616eff548cfcae7f05af031deb1.tar.gz |
Cons25 supports color as well
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index a575771..f25e360 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -1072,6 +1072,8 @@ function color($color = "0m") { global $TERM; if(!$TERM) $TERM=`/usr/bin/env | grep color`; + if(!$TERM) + $TERM=`/usr/bin/env | grep cons25`; if($TERM) { $ESCAPE=chr(27); switch ($color) { |