aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-06-26 03:35:54 +0000
committerBill Nottingham <notting@redhat.com>2003-06-26 03:35:54 +0000
commitc8b2bc2f85ae344705b995778fa2c5bb2d31ff72 (patch)
tree85aa28756e36560499edd74489bee77a42623143 /rc.d
parent346cbaee37fbf159c037da408f2df7f424ca029f (diff)
downloadinitscripts-c8b2bc2f85ae344705b995778fa2c5bb2d31ff72.tar
initscripts-c8b2bc2f85ae344705b995778fa2c5bb2d31ff72.tar.gz
initscripts-c8b2bc2f85ae344705b995778fa2c5bb2d31ff72.tar.bz2
initscripts-c8b2bc2f85ae344705b995778fa2c5bb2d31ff72.tar.xz
initscripts-c8b2bc2f85ae344705b995778fa2c5bb2d31ff72.zip
checking HOSTTYPE works better if it's actually set somewhere (#98078)
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 00cf8da5..3a5c5dee 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -23,6 +23,7 @@ fi
. /etc/init.d/functions
+HOSTTYPE=`uname -m`
if [ "$HOSTTYPE" != "s390" -a "$HOSTTYPE" != "s390x" ]; then
last=0