aboutsummaryrefslogtreecommitdiffstats
path: root/lang.sh
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-01-20 22:00:04 +0000
committerBill Nottingham <notting@redhat.com>2006-01-20 22:00:04 +0000
commit359814426ecf73211221d87a9a1ecafff10545c9 (patch)
tree3c27c86fb12eda447135ab6cd5fb1ea700a581e4 /lang.sh
parentcbf94e7107655151dc138e3e22e05afe3234d959 (diff)
downloadinitscripts-359814426ecf73211221d87a9a1ecafff10545c9.tar
initscripts-359814426ecf73211221d87a9a1ecafff10545c9.tar.gz
initscripts-359814426ecf73211221d87a9a1ecafff10545c9.tar.bz2
initscripts-359814426ecf73211221d87a9a1ecafff10545c9.tar.xz
initscripts-359814426ecf73211221d87a9a1ecafff10545c9.zip
get rid of some path lookups (#178321, <mclasen@redhat.com>)
Diffstat (limited to 'lang.sh')
-rwxr-xr-xlang.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang.sh b/lang.sh
index 2bf16f35..50c7c000 100755
--- a/lang.sh
+++ b/lang.sh
@@ -61,8 +61,8 @@ if [ "$sourced" = 1 ]; then
if [ -n "$LANG" ]; then
case $LANG in
*.utf8*|*.UTF-8*)
- if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" -a $SHLVL -eq 1 ]; then
- [ -x /bin/unicode_start ] && /sbin/consoletype fg && unicode_start $SYSFONT $SYSFONTACM
+ if [ "$TERM" = "linux" -a "`/sbin/consoletype`" = "vt" ]; then
+ [ -x /bin/unicode_start ] && /sbin/consoletype fg && /bin/unicode_start $SYSFONT $SYSFONTACM
fi
;;
esac