#!/bin/sh #---------------------------------------------------------------------------- # /etc/rc0.d/rc950.hwclock - write system time to hardware clock # # Last Update: $Id$ #---------------------------------------------------------------------------- if [ -f /sbin/hwclock -a -c /dev/rtc0 ] then begin_script HWCLOCK "Writing system time to RTC ... " hwclock --systohc --nodrift --fast --adjfile=$SAVEPATH/base/adjtime SCRIPT_RESULT=$? end_script fi