On Wed, Apr 18, 2012 at 11:06, Brecht Ameije <[email protected]> wrote: > > If the rtc clock is kept in local time, there's no way to find out UTC time > using > only the hwclock command. Therefore I now choose to keep it in UTC time. The > implications are: when using the hwclock arguments -w and -s (set hwclock to > systime and vice versa), the $TZ variable should be unset. >
OK, I forgot the obvious way Harald mentioned: instead of unsetting $TZ, you can just add the -u option: $ hwclock -s -u or $ hwclock -w -u That's what I needed all along. > Thanks Denys (and Harald off list) for the explanation. > Brecht > > _______________________________________________ > busybox mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/busybox _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
