From: Ben Gras Date: Fri, 16 Feb 2007 15:52:39 +0000 (+0000) Subject: Update CMOS time at shutdown time. X-Git-Tag: v3.1.3~77 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=0d5c50f3fc9012abdab159f1812ab3303199a521;p=minix.git Update CMOS time at shutdown time. --- diff --git a/etc/rc b/etc/rc index 2578ad5a2..ae18ed6de 100755 --- a/etc/rc +++ b/etc/rc @@ -160,6 +160,9 @@ Mount $usr /usr failed -- Single user." ;; down|stop) sync + # Update CMOS + echo -n 'Updating CMOS.. ' + readclock -w && echo Done || echo Failed # Tell RS server we're going down. service shutdown ;;