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