From c8cd508809408a0be9f1fbeb65775ab7fb083f3b Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Tue, 26 Nov 2002 18:17:31 +0000 Subject: Added utf hwclock support (from user patch) --- rc.shutdown | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'rc.shutdown') diff --git a/rc.shutdown b/rc.shutdown index 4688a6b..a49c18e 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -44,7 +44,11 @@ stat_busy "Saving Random Seed" stat_done stat_busy "Saving System Clock" -/sbin/hwclock --systohc +if [ $HARDWARECLOCK = "UTC" ]; then + /sbin/hwclock --utc --systohc +else + /sbin/hwclock --localtime --systohc +fi stat_done # Write to wtmp file before unmounting -- cgit v1.2.3