source: npl/system/glibc/timezone-scripts/parts/02 @ 128fde4

gcc484perl-5.22
Last change on this file since 128fde4 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 443 bytes
Line 
1   2> $TMP/tz
2
3   if [ $? = 1 -o $? = 255 ]; then
4      rm -f $TMP/tz
5      exit
6   fi
7
8   TIMEZONE="`cat $TMP/tz`"
9   rm -f $TMP/tz
10
11   setzone $TIMEZONE
12   exit
13else
14   ###
15   ### use text prompts
16   ###
17   while [ 0 ]; do
18      echo -n "Would you like to configure your timezone ([y]es, [n]o)? "
19      read TIMECONF;
20      echo
21
22      if [ "$TIMECONF" = "n" ]; then
23         break
24      fi
25
26      cat << EOF
27Select one of these timezones:
28
Note: See TracBrowser for help on using the repository browser.