Hi All,
I managed to come up with a fix for the time not saving on reboot for the 5600 and OZ 3.5.4. Taking a look, the timesaving that is done in the reboot script that is symlinked to /etc/rc6.d/S90reboot comes after the scripts that unmount the filesystem. So I figured that because of the unmount, the datetime in reboot couldn't possibly write to disk.
What I did was add a script called savetime to init.d with the contents from S90reboot that are relevant to time saving:
#!/bin/sh
# Update the timestamp, if there is one
if test -e /etc/timestamp
then
date +%2m%2d%2%2M%2Y > /etc/timestamp
fi
I then ran "chmod 766 savetime" to make it executable. After that, I linked it into /etc/rc6.d with:
ln -s /etc/init.d/savetime /etc/rc6.d/S21savetime
This runs it after the killsigs but before any file unmounting scripts are executed.
If someone who has this issue could please try this out and verify, it'd be great to see if this is the best fix to do.
Also, how does one submit something like this to OZ for inclusion?
Thanks and hope that solves the problem for others!
steven
p.s. - Because time is saved in the file and not referenced from the clock, on reboot the time will have drifted by the amount of time it takes the reboot, which for me was about 2 minutes, but it's a lot easier to quickly adjust the two minute than have to enter in day/month/time. =)