--- 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
@@ -115,7 +115,9 @@
;;
esac
-runcmd $"Syncing hardware clock to system time" /sbin/hwclock $CLOCKFLAGS
+if [ -x /sbin/hwclock ] ; then
+ runcmd $"Syncing hardware clock to system time" /sbin/hwclock $CLOCKFLAGS
+fi
# 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 @@
;;
esac
-/sbin/hwclock $CLOCKFLAGS
-
-action $"Setting clock $CLOCKDEF: `date`" date
+if [ -x /sbin/hwclock ] ; then
+ /sbin/hwclock $CLOCKFLAGS
+ action $"Setting clock $CLOCKDEF: `date`" date
+else
+ # System date on S390 is always set correctly
+ action $"System date: `date` " date
+fi
if [ "`/sbin/consoletype`" = "vt" ]; then
# Load keymap
@@ -290,6 +294,9 @@
else
action $"Skipping ISA PNP configuration at users request: " /bin/true
fi
+else
+ # No /sbin/isapnp => no PNP
+ PNP=
fi
# Remount the root filesystem read-write.
@@ -297,6 +304,24 @@
[ "$state" != "rw" ] && \
action $"Remounting root filesystem in read-write mode: " mount -n -o remount,rw /
+# Fix up kernel versioning on binary-only modules
+if [ -x /sbin/oco-setkver ]; then
+ kver=`
Mageia Installer and base platform for many utilities | Thierry Vignaud [tv] |