aboutsummaryrefslogtreecommitdiffstats
path: root/setsysfont
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-07-08 20:22:28 +0000
committerBill Nottingham <notting@redhat.com>2003-07-08 20:22:28 +0000
commitbbad0baf36cbe5c58b6f5767ca1370af598b6dd5 (patch)
tree43fc6a826f4c959ae7c1e843e7c41aacfeffdd81 /setsysfont
parent9c51f7ea621bd202c58a44a61772acf97c8a48c0 (diff)
downloadinitscripts-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 'setsysfont')
-rwxr-xr-xsetsysfont2
1 files changed, 1 insertions, 1 deletions
diff --git a/setsysfont b/setsysfont
index 828833c6..bcebb719 100755
--- a/setsysfont
+++ b/setsysfont
@@ -8,7 +8,7 @@ fi
case "$LANG" in
*.utf8|*.UTF-8)
- if [ -x /bin/unicode_start ]; then
+ if [ -x /bin/unicode_start ] && /sbin/consoletype fg ; then
exec unicode_start $SYSFONT $SYSFONTACM
fi
;;