--- rc.sysinit.org 2007-11-16 18:13:29.000000000 +0100 +++ rc.sysinit 2007-11-16 18:14:34.000000000 +0100 @@ -33,6 +33,17 @@ /sbin/modprobe usbcore >/dev/null 2>&1 grep -qw usbfs /proc/filesystems && mount -n -t usbfs none /proc/bus/usb +# Set clock early to fix some bugs with filesystem checks and timestamps +# Clock is set again later to match rc.conf +echo setze Uhr selbst! +if [ -f /etc/localtime ]; then + if [ "$HARDWARECLOCK" = "UTC" ]; then + /sbin/hwclock --directisa --utc --hctosys --noadjfile + else + /sbin/hwclock --directisa --localtime --hctosys --noadjfile + fi +fi + if [ -x /etc/start_udev -a -d /sys/block ]; then # We have a start_udev script and /sys appears to be mounted, use UDev status "Starting UDev Daemon" /etc/start_udev init @@ -208,16 +219,6 @@ status "Mounting Root Read-only" /bin/mount -n -o remount,ro / -# Set clock early to fix some bugs with filesystem checks -# Clock is set again later to match rc.conf -if [ -f /etc/localtime ]; then - if [ "$HARDWARECLOCK" = "UTC" ]; then - /sbin/hwclock --directisa --utc --hctosys --noadjfile - else - /sbin/hwclock --directisa --localtime --hctosys --noadjfile - fi -fi - FORCEFSCK= [ -f /forcefsck ] && FORCEFSCK="-- -f" NETFS="nonfs,nosmbfs,nocifs,nocodafs,noncpfs,nosysfs,nousbfs,noshfs,nofuse,nofuseblk"