summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tzsetup
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/tzsetup')
-rw-r--r--usr.sbin/tzsetup/tzsetup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/tzsetup/tzsetup.sh b/usr.sbin/tzsetup/tzsetup.sh
index a71cfff..8b71091 100644
--- a/usr.sbin/tzsetup/tzsetup.sh
+++ b/usr.sbin/tzsetup/tzsetup.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id$
+# $Id: tzsetup.sh,v 1.1 1994/09/13 23:01:59 wollman Exp $
#
# Copyright 1994, Garrett A. Wollman. All rights reserved.
# This script is subject to the terms and conditions listed at the
@@ -47,6 +47,7 @@ select() {
echo -n "I think the time in `echo $city | tr _ ' '` is: "
TZ=$where/$city date
if askyn "Is this what you wanted" y; then
+ rm -f /etc/localtime
cp /usr/share/zoneinfo/$where/$city \
/etc/localtime && echo "Timezone changed."
return 0
OpenPOWER on IntegriCloud