aboutsummaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions3
1 files changed, 3 insertions, 0 deletions
diff --git a/functions b/functions
index efed083..672eed2 100644
--- a/functions
+++ b/functions
@@ -289,6 +289,9 @@ set_consolefont() {
if [ $? -ne 0 ]; then
stat_fail
else
+ if [ -n "$CONSOLEMAP" ]; then
+ echo 'if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\033(K"; fi' >>/etc/profile.d/locale.sh
+ fi
stat_done
fi
fi