From c323a4ae268d20d293351dc5e195e34d19ed28e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=C3=A4chler?= Date: Mon, 18 Dec 2006 21:54:53 +0000 Subject: upgpkg: initscripts 0.8-2 finally fixed 5445 --- rc.shutdown | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rc.shutdown') diff --git a/rc.shutdown b/rc.shutdown index 8befcf8..e242b97 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -55,6 +55,10 @@ stat_busy "Saving Random Seed" stat_done stat_busy "Saving System Clock" +if [ "$TIMEZONE" != "" -a -e /usr/share/zoneinfo/$TIMEZONE ]; then + /bin/rm -f /etc/localtime + /bin/cp /usr/share/zoneinfo/$TIMEZONE /etc/localtime +fi if [ "$HARDWARECLOCK" = "UTC" ]; then /sbin/hwclock --directisa --utc --systohc else -- cgit v1.2.3