Print this page
4337 eliminate /etc/TIMEZONE
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man4/TIMEZONE.4
+++ new/usr/src/man/man4/init.4
1 1 '\" te
2 +.\" Copyright 2014 Garrett D'Amore
2 3 .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.
3 4 .\" Copyright 1989 AT&T
4 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.
5 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.
6 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]
7 -.TH TIMEZONE 4 "Jun 26, 2003"
8 +.TH init 4 "Mar 15, 2014"
8 9 .SH NAME
9 -TIMEZONE \- set default system time zone and locale
10 +init \- set default system time zone and locale
10 11 .SH SYNOPSIS
11 12 .LP
12 13 .nf
13 -\fB/etc/TIMEZONE\fR
14 14 \fB/etc/default/init\fR
15 15 .fi
16 16
17 17 .SH DESCRIPTION
18 18 .sp
19 19 .LP
20 20 This file sets the time zone environment variable \fBTZ\fR, and the
21 21 locale-related environment variables \fBLANG\fR, \fBLC_COLLATE\fR,
22 22 \fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, \fBLC_MONETARY\fR, \fBLC_NUMERIC\fR, and
23 23 \fBLC_TIME\fR.
24 24 .sp
25 25 .LP
26 -\fB/etc/TIMEZONE\fR is a symbolic link to \fB/etc/default/init\fR.
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.
27 29 .sp
28 30 .LP
29 31 The number of environment variables that can be set from
30 32 \fB/etc/default/init\fR is limited to 20.
31 33 .sp
32 34 .LP
33 35 The format of the file is:
34 36 .sp
35 37 .in +2
36 38 .nf
37 39 \fIVAR\fR\fB=\fR\fIvalue\fR
38 40 .fi
39 41 .in -2
40 42 .sp
41 43
42 44 .sp
43 45 .LP
44 46 where \fIVAR\fR is a timezone environment variable and \fIvalue\fR is the value
45 47 assigned to the variable. \fIvalue\fR can be enclosed in double quotes (") or
46 48 single quotes (\&'). The double or single quotes cannot be part of the value.
47 49 .SH SEE ALSO
48 50 .sp
49 51 .LP
50 52 \fBinit\fR(1M), \fBrtc\fR(1M), \fBctime\fR(3C), \fBenviron\fR(5)
51 53 .SH NOTES
52 54 .sp
53 55 .LP
54 56 When changing the \fBTZ\fR setting on x86 systems, you must make a
55 57 corresponding change to the \fB/etc/rtc_config\fR file to account for the new
56 58 timezone setting. This can be accomplished by executing the following commands,
57 59 followed by a reboot, to make the changes take effect:
58 60 .sp
59 61 .in +2
60 62 .nf
61 63 # rtc \fB-z\fR \fIzone-name\fR
62 64 # rtc \fB-c\fR
63 65
64 66 .fi
65 67 .in -2
66 68 .sp
67 69
68 70 .sp
69 71 .LP
70 72 where \fIzone-name\fR is the same name as the \fBTZ\fR variable setting.
71 73 .sp
72 74 .LP
73 75 See \fBrtc\fR(1M) for information on the \fBrtc\fR command.
↓ open down ↓ |
37 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX