Update CMOS time at shutdown time.

This commit is contained in:
Ben Gras 2007-02-16 15:52:39 +00:00
parent 3f58857ce9
commit 0d5c50f3fc

3
etc/rc
View File

@ -160,6 +160,9 @@ Mount $usr /usr failed -- Single user."
;; ;;
down|stop) down|stop)
sync sync
# Update CMOS
echo -n 'Updating CMOS.. '
readclock -w && echo Done || echo Failed
# Tell RS server we're going down. # Tell RS server we're going down.
service shutdown service shutdown
;; ;;