--- rc.sysinit.orig 2006-12-09 15:52:20.000000000 +0200 +++ rc.sysinit 2006-12-16 17:39:48.000000000 +0200 @@ -128,6 +128,14 @@ status "Mounting Root Read-only" /bin/mount -n -o remount,ro / +stat_busy "Configuring System Clock" +if [ "$HARDWARECLOCK" = "UTC" ]; then + /sbin/hwclock --directisa --utc --hctosys +else + /sbin/hwclock --directisa --localtime --hctosys +fi +stat_done + FORCEFSCK= [ -f /forcefsck ] && FORCEFSCK="-- -f" NETFS="nonfs,nosmbfs,nocifs,nocodafs,noncpfs,nosysfs,nousbfs,noshfs,nofuse" @@ -178,19 +186,9 @@ status "Activating Swap" /sbin/swapon -a -stat_busy "Configuring System Clock" -if [ "$TIMEZONE" != "" ]; then - /bin/ln -sf /usr/share/zoneinfo/$TIMEZONE /etc/localtime -fi -if [ "$HARDWARECLOCK" = "UTC" ]; then - /sbin/hwclock --directisa --utc --hctosys -else - /sbin/hwclock --directisa --localtime --hctosys -fi if [ ! -f /var/lib/hwclock/adjtime ]; then echo "0.0 0 0.0" > /var/lib/hwclock/adjtime fi -stat_done if [ -f /var/run/random-seed ]; then stat_busy "Initializing Random Seed" --- rc.shutdown.orig 2006-12-09 15:52:20.000000000 +0200 +++ rc.shutdown 2006-12-16 17:40:52.000000000 +0200 @@ -55,6 +55,9 @@ stat_done stat_busy "Saving System Clock" +if [ "$TIMEZONE" != "" ]; then + /bin/ln -sf /usr/share/zoneinfo/$TIMEZONE /etc/localtime +fi if [ "$HARDWARECLOCK" = "UTC" ]; then /sbin/hwclock --directisa --utc --systohc else @@ -62,6 +65,7 @@ fi stat_done + # removing psmouse module to fix some reboot issues on newer laptops modprobe -r psmouse >/dev/null 2>&1