--- rc.6.orig 2004-10-19 03:10:18.000000000 +0100 +++ rc.6.new 2005-01-12 18:41:35.000000000 +0000 @@ -38,6 +38,9 @@ esac # Save the system time to the hardware clock using hwclock --systohc. +if [ ! -z "`grep RiscPC /proc/cpuinfo`" ]; then + echo "RiscPC architecture detected - not saving system time to RTC" + else if [ -x /sbin/hwclock ]; then # Check for a broken motherboard RTC clock (where ioports for rtc are # unknown) to prevent hwclock causing a hang: @@ -52,6 +55,7 @@ /sbin/hwclock $CLOCK_OPT --localtime --systohc fi fi +fi # Stop the Apache web server: if [ -x /etc/rc.d/rc.httpd ]; then