]>
Commit | Line | Data |
---|---|---|
ec8b15cb | 1 | $Id$ |
7742e157 AF |
2 | |
3 | Files in /etc/sysconfig | |
4 | ======================= | |
5 | ||
6 | /etc/sysconfig/clock: | |
7 | ||
8 | deprecated values from earlier releases: | |
9 | ||
10 | CLOCKMODE=GMT indicates that the clock is set to UTC | |
11 | CLOCKMODE=ARC on alpha only indicates the ARC console's | |
12 | 42-year time offset is in effect | |
13 | ||
14 | currently correct values: | |
15 | ||
16 | UTC=true indicates that the clock is set to UTC; anything | |
17 | else indicates that it is set to local time | |
18 | ARC=true on alpha only indicates the ARC console's | |
19 | 42-year time offset is in effect; otherwise the normal | |
20 | Unix epoch is assumed | |
21 | ||
22 | ||
23 | /etc/sysconfig/keyboard: | |
24 | ||
25 | KEYTABLE=<keytable file> | |
26 | for example: KEYTABLE="/usr/lib/kbd/keytables/us.map" | |
27 | ||
28 | /etc/sysconfig/mouse: | |
29 | ||
30 | MOUSETYPE=microsoft|mouseman|mousesystems|ps/2|msbm|logibm|atibm| | |
31 | logitech|mmseries|mmhittab | |
32 | XEMU3=yes|no (emulate three buttons with two buttons whenever | |
33 | necessary, most notably in X) | |
34 | ||
35 | In addition, /dev/mouse points to the mouse device. | |
36 | ||
37 | /etc/sysconfig/network: | |
38 | ||
39 | NETWORKING=yes|no | |
de1fc6ce JR |
40 | IPV4_NETWORKING=yes|no |
41 | IPV6_NETWORKING=yes|no | |
660a1a51 | 42 | HOSTNAME=<whatever hostname you want, e.g. "pldmachine"> |
7742e157 AF |
43 | Note: for compatibility with some old software people might |
44 | install (like trn), the /etc/HOSTNAME file should contain the | |
45 | same value as here. | |
1d54b06b | 46 | NISDOMAIN=<nis domain name, e.g. "mydomain.org"> |
47 | Note: set this only if you use NIS system. DNS domainname | |
48 | should be set in /etc/resolv.conf | |
12de71be | 49 | IGNORE_ICMP_BCAST_IPV4=yes|no (Please note that if you accept ICMP echo |
50 | requests with a broadcast/multicast destination address your network | |
51 | may be used as an exploder for denial of service packet flooding attacks | |
52 | to other hosts. | |
53 | SPOOFING_IPV4=yes|no (anti spoofing protection) | |
7742e157 AF |
54 | GATEWAY=<gateway IP> |
55 | GATEWAYDEV=<gateway device> (e.g. eth0) | |
7742e157 AF |
56 | IPX=yes|no |
57 | IPXAUTOPRIMARY=on|off (note, that MUST be on|off, not yes|no) | |
58 | IPXAUTOFRAME=on|off (again, not yes|no) | |
59 | IPXINTERNALNETNUM=<netnum> | |
60 | IPXINTERNALNODENUM=<nodenum> | |
61 | ||
62 | All the IPX stuff is optional, and should default to off. | |
63 | ||
bd69a65a AM |
64 | /etc/sysconfig/static-nat |
65 | ||
66 | Configuration file for static Network Address Translation (NAT). | |
67 | Contains lines of the form: | |
68 | ||
69 | <address> via <addressreal> | |
70 | ||
71 | NAT will translate address <address> to <addressreal>. | |
72 | ||
7742e157 AF |
73 | /etc/sysconfig/static-routes: |
74 | ||
75 | Contains lines of the form: | |
76 | ||
bd69a65a | 77 | <device> to [type] <network>/<prefix> via <gateway> |
7742e157 AF |
78 | |
79 | <device> may be a device name to have the route brought up and | |
80 | down with the device, or "any" to have the correct devices calculated | |
bd69a65a AM |
81 | at run time. [type] is optional. RH style isn't supported ! |
82 | ||
83 | Also you can set few options after "<gateway>": | |
84 | tos <tos> | |
85 | metric <number> | |
86 | table <table> | |
87 | src <address> | |
88 | realm <realmid> | |
89 | mtu <mtu> or mtu lock <mtu> | |
90 | window <number> | |
91 | rtt <number> | |
92 | nexthop <nexthop> | |
93 | scope <scope> | |
94 | protocol <rtproto> | |
95 | onlink | |
96 | equalize | |
97 | For more informations see iproute2 documentation . | |
7742e157 AF |
98 | |
99 | /etc/sysconfig/routed: | |
100 | ||
101 | SILENT=yes|no | |
102 | EXPORT_GATEWAY=yes|no | |
103 | ||
104 | /etc/sysconfig/pcmcia: | |
105 | ||
106 | PCMCIA=yes|no | |
107 | PCIC=i82365|tcic | |
108 | PCIC_OPTS=<socket driver (i82365 or tcic) timing parameters> | |
109 | CORE_OPTS=<pcmcia_core options> | |
110 | CARDMGR_OPTS=<cardmgr options> | |
111 | ||
112 | /etc/sysconfig/amd: | |
113 | ||
114 | ADIR=/.automount (normally never changed) | |
115 | MOUNTPTS='/net /etc/amd.conf' (standard automount stuff) | |
116 | AMDOPTS= (extra options for AMD) | |
117 | ||
118 | /etc/sysconfig/tape: | |
119 | ||
120 | DEV=/dev/nst0 | |
121 | Tape device. Use the non-rewinding one for these scripts. | |
122 | ||
123 | For SCSI tapes this is /dev/nst#, where # is the number of the | |
124 | tape drive you want to use. If you only have one then use | |
125 | nst0. | |
126 | ||
127 | For IDE tapes you use /dev/ht#, where # is the number of the tape | |
128 | drive you want to use (usually ht0). | |
129 | ||
130 | For floppy tape drives use /dev/ftape. | |
131 | ||
132 | ADMIN=root | |
133 | Person to mail to if the backup fails for any reason | |
134 | ||
135 | SLEEP=5 | |
136 | Time to sleep between tape operations. Some drives need a bit | |
137 | more than others, but 5 seems to work for 8mm, 4mm, and DLT | |
138 | ||
139 | BLOCKSIZE=32768 | |
140 | This worked fine for 8mm, then 4mm, and now DLT. An optimal | |
141 | setting is probably however much data your drive writes at one | |
142 | time. | |
143 | ||
144 | SHORTDATE=$(date +%y:%m:%d:%H:%M) | |
145 | A short date string, used in backup log filenames. | |
146 | ||
147 | DAY=$(date +log-%y:%m:%d) | |
148 | This is used for the log file directory. | |
149 | ||
150 | DATE=$(date) | |
151 | Regular date string, used in log files. | |
152 | ||
153 | LOGROOT=/var/log/backup | |
154 | Root of the logging directory | |
155 | ||
156 | LIST=$LOGROOT/incremental-list | |
157 | This is the file name the incremental backup will use to store | |
158 | the incremental list. It will be $LIST-{some number}. | |
159 | ||
160 | DOTCOUNT=$LOGROOT/.count | |
161 | For counting as you go to know which incremental list to use | |
162 | ||
163 | COUNTER=$LOGROOT/counter-file | |
164 | For rewinding when done...might not use. | |
165 | ||
166 | BACKUPTAB=/etc/backuptab | |
167 | The file in which we keep our list of backup(s) we want to make. | |
168 | ||
12de71be | 169 | /etc/sysconfig/sendmail: |
170 | DAEMON=yes|no | |
171 | yes implies -bd | |
172 | QUEUE=1h | |
173 | given to sendmail as -q$QUEUE | |
174 | -q option is not given to sendmail if /etc/sysconfig/sendmail | |
175 | exists and QUEUE is empty or undefined. | |
7742e157 | 176 | |
7742e157 AF |
177 | /etc/sysconfig/i18n |
178 | ||
179 | LANG= can be any two letter ISO language code | |
12de71be | 180 | LC_ALL= is the setting of the localedata configuration (eg fr_CA) |
7742e157 AF |
181 | LINGUAS= can be a : separated list of language codes |
182 | SYSTERM= use to set default TERM environment variable | |
183 | ||
184 | The above three variables are used in rc.sysinit. | |
185 | ||
12de71be | 186 | SYSFONT= any font that is legal when used as |
187 | /usr/sbin/setfont $SYSFONT ... | |
188 | (See kbd package for sysfont command) | |
189 | ||
190 | UNIMAP= any unicode font that is legal fodder for | |
191 | /usr/sbin/setfont $SYSFONT-u $UNIMAP | |
7742e157 AF |
192 | |
193 | The above is used by the /sbin/setsysfont command (which is run | |
194 | by rc.sysinit at boot time). |