diff options
author | Bill Nottingham <notting@redhat.com> | 1999-04-06 20:44:45 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-04-06 20:44:45 +0000 |
commit | e8f4ceaf165a41787ea860bff3f91416bb12e7f6 (patch) | |
tree | a053e42af31e1296ecef566b8b7c747b30916560 /setsysfont | |
parent | ac0106eb9bbb0adb00cfdf0c809546d2816f2600 (diff) | |
download | initscripts-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
Diffstat (limited to 'setsysfont')
-rwxr-xr-x | setsysfont | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |