diff options
author | Bill Nottingham <notting@redhat.com> | 2001-02-10 00:48:42 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-02-10 00:48:42 +0000 |
commit | eb7df4d6479b7b23cbfe4588a0961ac17b90f8c8 (patch) | |
tree | 4b2043547d195ef6690d25235177023f0c243c5f /lang.sh | |
parent | 0cc081cbc90a7f0d1b229f86d20f7f886f5c40b0 (diff) | |
download | initscripts-eb7df4d6479b7b23cbfe4588a0961ac17b90f8c8.tar initscripts-eb7df4d6479b7b23cbfe4588a0961ac17b90f8c8.tar.gz initscripts-eb7df4d6479b7b23cbfe4588a0961ac17b90f8c8.tar.bz2 initscripts-eb7df4d6479b7b23cbfe4588a0961ac17b90f8c8.tar.xz initscripts-eb7df4d6479b7b23cbfe4588a0961ac17b90f8c8.zip |
reintroduce font page reset, but fix su errors
Diffstat (limited to 'lang.sh')
-rwxr-xr-x | lang.sh | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -33,4 +33,16 @@ if [ "$sourced" = 1 ]; then unset LINGUAS fi [ -n "$_XKB_CHARSET" ] && export _XKB_CHARSET || unset _XKB_CHARSET + + if [ -n "$SYSFONTACM" ]; then + case $SYSFONTACM in + iso01*|iso02*|iso15*|koi*|latin2-ucw*) + if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then + echo -n -e '\033(K' 2>/dev/null > /proc/$$/fd/0 + fi + ;; + esac + fi + + unset SYSFONTACM SYSFONT fi |