aboutsummaryrefslogtreecommitdiff
path: root/init.d.Linux/consolefont
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-17 09:32:18 +0000
committerRoy Marples <roy@marples.name>2007-04-17 09:32:18 +0000
commitf657d87b997f5b599d74a8f2eb6fef8dd6381550 (patch)
tree5bd3799657e97edabe5ff83e5ac145f3d15931d8 /init.d.Linux/consolefont
parent0f92b5e7df4ead366984b5624de12446bd968478 (diff)
Rationalise our colour usage a little.
Diffstat (limited to 'init.d.Linux/consolefont')
-rwxr-xr-xinit.d.Linux/consolefont6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.d.Linux/consolefont b/init.d.Linux/consolefont
index 5401a7b3..64003fa5 100755
--- a/init.d.Linux/consolefont
+++ b/init.d.Linux/consolefont
@@ -79,6 +79,12 @@ start() {
|| rm -f "${RC_LIBDIR}"/console/map
/bin/setfont -ou "${RC_LIBDIR}"/console/unimap 2>/dev/null \
|| rm -f "${RC_LIBDIR}"/console/unimap
+
+ if [ "${UNICODE}" = "yes" ] ; then
+ touch "${RC_LIBDIR}"/console/unicode
+ else
+ rm -f "${RC_LIBDIR}"/console/unicode
+ fi
fi
return ${retval}