home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / lib / udev / rules.d / 85-hwclock.rules < prev    next >
Encoding:
Text File  |  2009-02-18  |  428 b   |  9 lines

  1. # Reset the System Clock to UTC if the hardware clock from which it was
  2. # copied by the kernel was in localtime.
  3.  
  4. KERNEL=="rtc0", IMPORT{file}="/etc/default/rcS"
  5. KERNEL=="rtc0", ENV{UTC}!="yes", ENV{BADYEAR}!="yes", \
  6.     RUN+="/sbin/hwclock --rtc=$root/$name --systz --localtime --noadjfile"
  7. KERNEL=="rtc0", ENV{UTC}!="yes", ENV{BADYEAR}=="yes", \
  8.     RUN+="/sbin/hwclock --rtc=$root/$name --systz --localtime --noadjfile --badyear"
  9.