aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-04-06 20:44:45 +0000
committerBill Nottingham <notting@redhat.com>1999-04-06 20:44:45 +0000
commite8f4ceaf165a41787ea860bff3f91416bb12e7f6 (patch)
treea053e42af31e1296ecef566b8b7c747b30916560
parentac0106eb9bbb0adb00cfdf0c809546d2816f2600 (diff)
downloadinitscripts-e8f4ceaf165a41787ea860bff3f91416bb12e7f6.tar
initscripts-e8f4ceaf165a41787ea860bff3f91416bb12e7f6.tar.gz
initscripts-e8f4ceaf165a41787ea860bff3f91416bb12e7f6.tar.bz2
initscripts-e8f4ceaf165a41787ea860bff3f91416bb12e7f6.tar.xz
initscripts-e8f4ceaf165a41787ea860bff3f91416bb12e7f6.zip
look for consolechars in both /bin & /usr/bin
-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