Update CMOS time at shutdown time.
This commit is contained in:
parent
3f58857ce9
commit
0d5c50f3fc
3
etc/rc
3
etc/rc
@ -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
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user