diff options
author | Bill Nottingham <notting@redhat.com> | 2003-07-08 20:22:28 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-07-08 20:22:28 +0000 |
commit | bbad0baf36cbe5c58b6f5767ca1370af598b6dd5 (patch) | |
tree | 43fc6a826f4c959ae7c1e843e7c41aacfeffdd81 /lang.csh | |
parent | 9c51f7ea621bd202c58a44a61772acf97c8a48c0 (diff) | |
download | initscripts-bbad0baf36cbe5c58b6f5767ca1370af598b6dd5.tar initscripts-bbad0baf36cbe5c58b6f5767ca1370af598b6dd5.tar.gz initscripts-bbad0baf36cbe5c58b6f5767ca1370af598b6dd5.tar.bz2 initscripts-bbad0baf36cbe5c58b6f5767ca1370af598b6dd5.tar.xz initscripts-bbad0baf36cbe5c58b6f5767ca1370af598b6dd5.zip |
check that we're the current foreground console before running
unicode_start
Diffstat (limited to 'lang.csh')
-rwxr-xr-x | lang.csh | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -75,11 +75,13 @@ if ($sourced == 1) then if ( "$TERM" == "linux" ) then if ( `/sbin/consoletype` == "vt" ) then if ( -x /bin/unicode_start ) then - if ( $?SYSFONT ) then - if ( $?SYSFONTACM ) then - unicode_start $SYSFONT $SYSFONTACM - else - unicode_start $SYSFONT + if { /sbin/consoletype fg } then + if ( $?SYSFONT ) then + if ( $?SYSFONTACM ) then + unicode_start $SYSFONT $SYSFONTACM + else + unicode_start $SYSFONT + endif endif endif endif |