diff options
author | Thomas Bächler <thomas@archlinux.org> | 2006-12-18 21:54:53 +0000 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2006-12-18 21:54:53 +0000 |
commit | c323a4ae268d20d293351dc5e195e34d19ed28e7 (patch) | |
tree | a83c8bb6a5040b072a65fb346796fa65cba61d20 /rc.shutdown | |
parent | f9b90969a7669044f098b90babe203b145bf55a9 (diff) |
upgpkg: initscripts 0.8-2
finally fixed 5445
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-x | rc.shutdown | 4 |
1 files changed, 4 insertions, 0 deletions
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 |