Print this page
4337 eliminate /etc/TIMEZONE
   1 '\" te

   2 .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.
   3 .\" Copyright 1989 AT&T
   4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   7 .TH TIMEZONE 4 "Jun 26, 2003"
   8 .SH NAME
   9 TIMEZONE \- set default system time zone and locale
  10 .SH SYNOPSIS
  11 .LP
  12 .nf
  13 \fB/etc/TIMEZONE\fR
  14 \fB/etc/default/init\fR
  15 .fi
  16 
  17 .SH DESCRIPTION
  18 .sp
  19 .LP
  20 This file sets the time zone environment variable \fBTZ\fR, and the
  21 locale-related environment variables \fBLANG\fR, \fBLC_COLLATE\fR,
  22 \fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, \fBLC_MONETARY\fR, \fBLC_NUMERIC\fR, and
  23 \fBLC_TIME\fR.
  24 .sp
  25 .LP
  26 \fB/etc/TIMEZONE\fR is a symbolic link to \fB/etc/default/init\fR.


  27 .sp
  28 .LP
  29 The number of environment variables that can be set from
  30 \fB/etc/default/init\fR is limited to 20.
  31 .sp
  32 .LP
  33 The format of the file is:
  34 .sp
  35 .in +2
  36 .nf
  37 \fIVAR\fR\fB=\fR\fIvalue\fR
  38 .fi
  39 .in -2
  40 .sp
  41 
  42 .sp
  43 .LP
  44 where \fIVAR\fR is a timezone environment variable and \fIvalue\fR is the value
  45 assigned to the variable. \fIvalue\fR can be enclosed in double quotes (") or
  46 single quotes (\&'). The double or single quotes cannot be part of the value.


   1 '\" te
   2 .\" Copyright 2014 Garrett D'Amore
   3 .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.
   4 .\" Copyright 1989 AT&T
   5 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   6 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   7 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   8 .TH init 4 "Mar 15, 2014"
   9 .SH NAME
  10 init \- set default system time zone and locale
  11 .SH SYNOPSIS
  12 .LP
  13 .nf

  14 \fB/etc/default/init\fR
  15 .fi
  16 
  17 .SH DESCRIPTION
  18 .sp
  19 .LP
  20 This file sets the time zone environment variable \fBTZ\fR, and the
  21 locale-related environment variables \fBLANG\fR, \fBLC_COLLATE\fR,
  22 \fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, \fBLC_MONETARY\fR, \fBLC_NUMERIC\fR, and
  23 \fBLC_TIME\fR.
  24 .sp
  25 .LP
  26 \fB/etc/TIMEZONE\fR is a symbolic link to \fB/etc/default/init\fR.  This
  27 link exists for compatibility with legacy software, is obsolete, and may
  28 be removed in a future release. 
  29 .sp
  30 .LP
  31 The number of environment variables that can be set from
  32 \fB/etc/default/init\fR is limited to 20.
  33 .sp
  34 .LP
  35 The format of the file is:
  36 .sp
  37 .in +2
  38 .nf
  39 \fIVAR\fR\fB=\fR\fIvalue\fR
  40 .fi
  41 .in -2
  42 .sp
  43 
  44 .sp
  45 .LP
  46 where \fIVAR\fR is a timezone environment variable and \fIvalue\fR is the value
  47 assigned to the variable. \fIvalue\fR can be enclosed in double quotes (") or
  48 single quotes (\&'). The double or single quotes cannot be part of the value.