aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.com>2001-07-31 10:57:58 +0000
committerKarsten Hopp <karsten@redhat.com>2001-07-31 10:57:58 +0000
commitf2c9e615c313c192bc1f9ee31bac21185ba4348e (patch)
tree7f55ffb9d5fbffe0f6ac4798bd7ed1f5203961d1
parent4aa0fa19ea454f8c1f9d9c9cecbd130a125c0c5c (diff)
downloadinitscripts-f2c9e615c313c192bc1f9ee31bac21185ba4348e.tar
initscripts-f2c9e615c313c192bc1f9ee31bac21185ba4348e.tar.gz
initscripts-f2c9e615c313c192bc1f9ee31bac21185ba4348e.tar.bz2
initscripts-f2c9e615c313c192bc1f9ee31bac21185ba4348e.tar.xz
initscripts-f2c9e615c313c192bc1f9ee31bac21185ba4348e.zip
fix typo
-rw-r--r--initscripts-s390.patch6
-rwxr-xr-xrc.d/rc.sysinit2
2 files changed, 4 insertions, 4 deletions
diff --git a/initscripts-s390.patch b/initscripts-s390.patch
index f85fd973..cad13c7c 100644
--- a/initscripts-s390.patch
+++ b/initscripts-s390.patch
@@ -28,7 +28,7 @@
+ action $"System date: `date` " date
+fi
- if [ "`/sbin/consoletype`" == "vt" ]; then
+ if [ "`/sbin/consoletype`" = "vt" ]; then
# Load keymap
@@ -269,6 +273,9 @@
else
@@ -48,10 +48,10 @@
+if [ -x /sbin/oco-setkver ]; then
+ kver=`</proc/sys/kernel/osrelease`
+ kernelver=`echo $kver|awk -F '-' '{ print $1 }'`
-+ if [ "$HOSTTYPE" == "s390x" ]; then
++ if [ "$HOSTTYPE" = "s390x" ]; then
+ kernelver="${kernelver}x"
+ fi
-+ if [ "${kver:0:3}" == "2.4" ]; then
++ if [ "${kver:0:3}" = "2.4" ]; then
+ modpath="/lib/modules/$kver/kernel/net"
+ else
+ modpath="/lib/modules/$kver/net"
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 367f9891..52ebfab8 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -109,7 +109,7 @@ esac
action $"Setting clock $CLOCKDEF: `date`" date
-if [ "`/sbin/consoletype`" == "vt" ]; then
+if [ "`/sbin/consoletype`" = "vt" ]; then
# Load keymap
if [ -x /bin/loadkeys ]; then
KEYTABLE=