aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts-s390.patch
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2001-09-06 11:42:24 +0000
committerThan Ngo <than@redhat.com>2001-09-06 11:42:24 +0000
commitd814167d042f48cabd148fd3de8f8d9b0c0e88c4 (patch)
treeb93b4c6383c56b345bf4dddf801e672f20d49e89 /initscripts-s390.patch
parent8c8b5b0e1631e4ab5ab2eee8ef9ddc6815ec53bf (diff)
downloadinitscripts-d814167d042f48cabd148fd3de8f8d9b0c0e88c4.tar
initscripts-d814167d042f48cabd148fd3de8f8d9b0c0e88c4.tar.gz
initscripts-d814167d042f48cabd148fd3de8f8d9b0c0e88c4.tar.bz2
initscripts-d814167d042f48cabd148fd3de8f8d9b0c0e88c4.tar.xz
initscripts-d814167d042f48cabd148fd3de8f8d9b0c0e88c4.zip
* update initscripts-s390.patch for s390/s390xr6-39
Diffstat (limited to 'initscripts-s390.patch')
-rw-r--r--initscripts-s390.patch22
1 files changed, 12 insertions, 10 deletions
diff --git a/initscripts-s390.patch b/initscripts-s390.patch
index 5c0b375d..9a2c171e 100644
--- a/initscripts-s390.patch
+++ b/initscripts-s390.patch
@@ -1,5 +1,5 @@
---- initscripts-6.14/rc.d/init.d/halt.s390init Tue Aug 7 09:04:12 2001
-+++ initscripts-6.14/rc.d/init.d/halt Mon Aug 13 17:49:05 2001
+--- initscripts-me/rc.d/init.d/halt.orig Thu Sep 6 13:19:12 2001
++++ initscripts-me/rc.d/init.d/halt Thu Sep 6 13:19:50 2001
@@ -115,7 +115,9 @@
;;
esac
@@ -11,16 +11,18 @@
# Turn off swap, then unmount file systems.
SWAPS=`awk '! /^Filename/ { print $1 }' /proc/swaps`
---- initscripts-6.14/rc.d/rc.sysinit.s390init Thu Aug 9 00:03:09 2001
-+++ initscripts-6.14/rc.d/rc.sysinit Mon Aug 13 17:51:55 2001
-@@ -105,9 +105,13 @@
+--- initscripts-me/rc.d/rc.sysinit.orig Thu Sep 6 13:20:04 2001
++++ initscripts-me/rc.d/rc.sysinit Thu Sep 6 13:33:47 2001
+@@ -105,10 +105,14 @@
;;
esac
+-/sbin/hwclock --adjust
-/sbin/hwclock $CLOCKFLAGS
-
-action $"Setting clock $CLOCKDEF: `date`" date
+if [ -x /sbin/hwclock ] ; then
++ /sbin/hwclock --adjust
+ /sbin/hwclock $CLOCKFLAGS
+ action $"Setting clock $CLOCKDEF: `date`" date
+else
@@ -30,7 +32,7 @@
if [ "`/sbin/consoletype`" = "vt" ]; then
# Load keymap
-@@ -290,6 +294,9 @@
+@@ -322,6 +326,9 @@
else
action $"Skipping ISA PNP configuration at users request: " /bin/true
fi
@@ -40,7 +42,7 @@
fi
# Remount the root filesystem read-write.
-@@ -297,6 +304,24 @@
+@@ -329,6 +336,24 @@
[ "$state" != "rw" ] && \
action $"Remounting root filesystem in read-write mode: " mount -n -o remount,rw /
@@ -51,7 +53,7 @@
+ 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"
@@ -65,7 +67,7 @@
# LVM initialization
if [ -e /proc/lvm -a -x /sbin/vgchange -a -f /etc/lvmtab ]; then
action $"Setting up Logical Volume Management:" /sbin/vgscan && /sbin/vgchange -a y
-@@ -573,23 +598,29 @@
+@@ -605,23 +630,29 @@
# Configure machine if necessary.
if [ -f /.unconfigured ]; then
@@ -77,7 +79,7 @@
+ else
+ ARCH=""
+ fi
-+ if [ -x /usr/bin/passwd$ARCH ]; then
++ if [ -x /usr/bin/passwd$ARCH ]; then
+ /usr/bin/passwd$ARCH root
fi
- if [ -x /usr/sbin/netconfig ]; then