aboutsummaryrefslogtreecommitdiffstats
path: root/setsysfont
diff options
context:
space:
mode:
Diffstat (limited to 'setsysfont')
-rwxr-xr-xsetsysfont6
1 files changed, 4 insertions, 2 deletions
diff --git a/setsysfont b/setsysfont
index 463739bb..3cbab363 100755
--- a/setsysfont
+++ b/setsysfont
@@ -1,10 +1,12 @@
#!/bin/sh
+PATH=/bin:/usr/bin
+
if [ -f /etc/sysconfig/i18n ]; then
. /etc/sysconfig/i18n
fi
-if [ -x /bin/consolechars ]; then
+if [ -x /bin/consolechars -o -x /usr/bin/consolechars ]; then
if [ -n "$SYSFONT" ]; then
ARGS=$SYSFONT
if [ -n "$UNIMAP" ]; then
@@ -13,7 +15,7 @@ if [ -x /bin/consolechars ]; then
if [ -n "$SYSFONTACM" ]; then
ARGS="$ARGS --acm $SYSFONTACM"
fi
- /bin/consolechars -f $ARGS
+ consolechars -f $ARGS
fi
elif [ -x /usr/bin/setfont ]; then
if [ -n "$SYSFONT" -a -n "$UNIMAP" ]; then