aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2003-04-21 12:04:57 +0000
committerFlorian La Roche <laroche@redhat.com>2003-04-21 12:04:57 +0000
commit5d6ea8b3450b9b85e222815e131e2772f62650d1 (patch)
treeb646fa7046eedd75672f88464e98587e81ef6934 /rc.d
parent05f91a7f3d20c4e023cfecc915e0d9ccf793b7b8 (diff)
downloadinitscripts-5d6ea8b3450b9b85e222815e131e2772f62650d1.tar
initscripts-5d6ea8b3450b9b85e222815e131e2772f62650d1.tar.gz
initscripts-5d6ea8b3450b9b85e222815e131e2772f62650d1.tar.bz2
initscripts-5d6ea8b3450b9b85e222815e131e2772f62650d1.tar.xz
initscripts-5d6ea8b3450b9b85e222815e131e2772f62650d1.zip
- further eliminate consoletype calls with CONSOLETYPE
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index dbbaa43b..49aabc7c 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -44,7 +44,7 @@ if [ "$HOSTTYPE" != "s390" -a "$HOSTTYPE" != "s390x" ]; then
fi
fi
-if [ "`/sbin/consoletype`" = "vt" -a -x /sbin/setsysfont ]; then
+if [ "$CONSOLETYPE" = "vt" -a -x /sbin/setsysfont ]; then
echo -n "Setting default font ($SYSFONT): "
/sbin/setsysfont
if [ $? -eq 0 ]; then
@@ -130,7 +130,7 @@ esac
action $"Setting clock $CLOCKDEF: `date`" date
-if [ "`/sbin/consoletype`" = "vt" -a -x /bin/loadkeys ]; then
+if [ "$CONSOLETYPE" = "vt" -a -x /bin/loadkeys ]; then
KEYTABLE=
KEYMAP=
if [ -f /etc/sysconfig/console/default.kmap ]; then