aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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=