]> git.pld-linux.org Git - projects/rc-scripts.git/blame - doc/sysconfig.docb
sysconfig/clock and related actions are obsolete now. hwclock knows how to handle...
[projects/rc-scripts.git] / doc / sysconfig.docb
CommitLineData
16526de1 1<refentry>
2 <refnamediv>
3 <refname>/etc/sysconfig/</refname>
4 <refpurpose>Basic system settings</refpurpose>
5 </refnamediv>
16526de1 6 <refsect1>
7 <title><filename moreinfo="None">/etc/sysconfig/keyboard</filename></title>
8 <variablelist>
9 <varlistentry>
6922f956 10 <term>KEYTABLE=&lt;keytable file&gt;</term>
16526de1 11 <listitem><para>for example:
12 KEYTABLE="/usr/lib/kbd/keytables/us.map"</para>
13 </listitem>
14 </varlistentry>
15 </variablelist>
16 </refsect1>
17
18 <refsect1>
19 <title><filename moreinfo="None">/etc/sysconfig/mouse</filename></title>
20 <variablelist>
21 <varlistentry>
22 <term>MOUSETYPE=microsoft|mouseman|mousesystems|ps/2|msbm|logibm|atibm|
23 logitech|mmseries|mmhittab</term>
24 <listitem><para> </para>
25 </listitem>
26 </varlistentry>
27 <varlistentry>
28 <term>XEMU3=yes|no</term>
29 <listitem><para>(emulate three buttons with two buttons whenever
30 necessary, most notably in X)</para>
31 </listitem>
32 </varlistentry>
33 </variablelist>
34 <para>In addition, /dev/mouse points to the mouse device.</para>
35 </refsect1>
36 <refsect1>
37 <title><filename moreinfo="None">/etc/sysconfig/network</filename></title>
38 <variablelist>
39 <varlistentry><term>NETWORKING=yes|no</term>
40 <listitem><para>IPV6NETWORKING=yes|no</para>
41 </listitem>
42 </varlistentry>
6922f956 43 <varlistentry><term>HOSTNAME=$&lt;whatever hostname you want&gt;</term>
16526de1 44 <listitem><note><para> for compatibility with some old software people might
45 install (like trn), the /etc/HOSTNAME file should contain the
46 same value as here.</para></note>
47 </listitem>
48 </varlistentry>
16526de1 49 <varlistentry><term>IGNORE_ICMP_BCAST_IPV4=yes|no</term>
50 <listitem><para>(Please note that if you accept ICMP echo
51 requests with a broadcast/multicast destination address your network
52 may be used as an exploder for denial of service packet flooding attacks
53 to other hosts.</para>
54 </listitem>
55 </varlistentry>
56 <varlistentry>
57 <term>SPOOFING_IPV4=yes|no</term>
58 <listitem>
59 <para>(anti spoofing protection)</para></listitem>
60 </varlistentry>
61
62 <varlistentry>
6922f956 63 <term>GATEWAY=&lt;gateway IP&gt;</term>
16526de1 64 <listitem>
65 <para>
66 </para>
67
68 </listitem>
69 </varlistentry>
70
71 <varlistentry>
6922f956 72 <term>GATEWAYDEV=&lt;gateway device&gt;</term>
16526de1 73 <listitem>
74 <para>
75 (e.g. eth0)</para>
76 </listitem>
77 </varlistentry>
78
79 <varlistentry>
80 <term>NISDOMAIN=&lt;nis domain name></term>
81 <listitem>
82 <para></para>
83 </listitem>
84 </varlistentry>
85
86 <varlistentry>
87 <term>IPX=yes|no</term>
88 <listitem>
89 <para>
90 </para>
91 </listitem>
92 </varlistentry>
93
94 <varlistentry>
95 <term>IPXAUTOPRIMARY=on|off</term>
96 <listitem>
97 <para>
98 (note, that MUST be on|off, not yes|no)</para>
99 </listitem>
100 </varlistentry>
101
102 <varlistentry>
103 <term>IPXAUTOFRAME=on|off</term>
104 <listitem>
105 <para>
106 (again, not yes|no)</para>
107 </listitem>
108 </varlistentry>
109
110 <varlistentry>
111 <term>IPXINTERNALNETNUM=&lt;netnum></term>
112 <listitem>
113 <para>
114 </para>
115 </listitem>
116 </varlistentry>
117
118 <varlistentry>
119 <term>IPXINTERNALNODENUM=&lt;nodenum></term>
120 <listitem>
121 <para></para>
122 </listitem>
123 </varlistentry>
124 </variablelist>
125 <para>All the IPX stuff is optional, and should default to off.</para>
126 </refsect1>
127
128 <refsect1>
129 <title><filename>/etc/sysconfig/static-nat</filename></title>
130 <para>
131 Configuration file for static Network Address Translation (NAT).
132 Contains lines of the form:</para>
133 <para>
134<literal>&lt;address> via &lt;addressreal></literal></para>
135 <para>
136 NAT will translate address &lt;address> to &lt;addressreal>.</para>
137 </refsect1>
138 <refsect1>
139 <title><filename>/etc/sysconfig/static-routes</filename></title>
140 <para>Contains lines of the form:</para>
6e04a8b4
JK
141 <para><literal>&lt;device&gt; to [type] &lt;network&gt;/&lt;prefix&gt; via &lt;gateway&gt;</literal></para>
142 <para>&lt;device&gt; may be a device name to have the route brought up and
143 down with the device, or "none" if the route is not to be bound to any specific
144 device. [type] is optional. RH style isn't supported !</para>
16526de1 145 <para>Also you can set few options after "&lt;gateway>":</para>
146 <simplelist columns=1>
147 <member>tos &lt;tos></member>
148 <member>metric &lt;number></member>
149 <member>table &lt;table></member>
150 <member>src &lt;address></member>
151 <member>realm &lt;realmid></member>
152 <member>mtu &lt;mtu> or mtu lock &lt;mtu></member>
153 <member>window &lt;number></member>
154 <member>rtt &lt;number></member>
155 <member>nexthop &lt;nexthop></member>
156 <member>scope &lt;scope></member>
157 <member>protocol &lt;rtproto></member>
158 <member>onlink</member>
159 <member>equalize</member>
160 </simplelist>
161
162 <para>For more informations see iproute2 documentation .</para>
163 </refsect1>
164
165 <refsect1>
166 <title><filename>/etc/sysconfig/routed</filename></title>
167 <simplelist>
168 <member>SILENT=yes|no</member>
169 <member>EXPORT_GATEWAY=yes|no</member>
170 </simplelist>
171 </refsect1>
172
173 <refsect1>
174 <title><filename>/etc/sysconfig/pcmcia</filename></title>
175 <simplelist>
176 <member>PCMCIA=yes|no</member>
177 <member>PCIC=i82365|tcic</member>
178 <member>PCIC_OPTS=&lt;socket driver (i82365 or tcic) timing parameters></member>
179 <member>CORE_OPTS=&lt;pcmcia_core options></member>
180 <member>CARDMGR_OPTS=&lt;cardmgr options></member>
181 </simplelist>
182 </refsect1>
183
184 <refsect1>
185 <title><filename>/etc/sysconfig/amd</filename></title>
186 <variablelist>
187 <varlistentry><term>ADIR=/.automount</term>
188 <listitem><para>(normally never changed)</para></listitem>
189 </varlistentry>
190 <varlistentry><term>MOUNTPTS='/net /etc/amd.conf'</term>
191 <listitem><para>(standard automount stuff)</para></listitem>
192 </varlistentry>
193 <varlistentry><term>AMDOPTS=</term>
194 <listitem><para>(extra options for AMD)</para></listitem>
195 </varlistentry>
196 </variablelist>
197 </refsect1>
198
199 <refsect1>
200 <title><filename moreinfo="None">/etc/sysconfig/tape</filename></title>
201 <variablelist>
202 <varlistentry><term>DEV=/dev/nst0</term>
203 <listitem>
204 <para>
205 Tape device. Use the non-rewinding one for these scripts.</para>
206 <para>
207 For SCSI tapes this is /dev/nst#, where # is the number of the
208 tape drive you want to use. If you only have one then use
209 nst0.</para>
210 <para>
211 For IDE tapes you use /dev/ht#, where # is the number of the tape
212 drive you want to use (usually ht0).</para>
213 <para>
214 For floppy tape drives use /dev/ftape.</para>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry><term>ADMIN=root</term>
219 <listitem><para>Person to mail to if the backup fails for any reason</para>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry>
224 <term>SLEEP=5</term>
225 <listitem>
226<para>
227 Time to sleep between tape operations. Some drives need a bit
228 more than others, but 5 seems to work for 8mm, 4mm, and DLT</para>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry>
233 <term>BLOCKSIZE=32768</term>
234 <listitem>
235 <para>
236 This worked fine for 8mm, then 4mm, and now DLT. An optimal
237 setting is probably however much data your drive writes at one
238 time.</para>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry>
243 <term>SHORTDATE=$(date +%y:%m:%d:%H:%M)</term>
244 <listitem>
245 <para>
246 A short date string, used in backup log filenames.</para>
247 </listitem>
248 </varlistentry>
249
250
251 <varlistentry>
252 <term>DAY=$(date +log-%y:%m:%d)</term>
253 <listitem>
254 <para>
255 This is used for the log file directory.</para>
256 </listitem>
257 </varlistentry>
258
259 <varlistentry>
260 <term>DATE=$(date)</term>
261 <listitem>
262 <para>
263 Regular date string, used in log files.</para>
264 </listitem>
265 </varlistentry>
266
267 <varlistentry>
268 <term>LOGROOT=/var/log/backup</term>
269 <listitem>
270 <para>
271 Root of the logging directory</para>
272 </listitem>
273 </varlistentry>
274
275 <varlistentry>
276 <term>LIST=$LOGROOT/incremental-list</term>
277 <listitem>
278 <para>
279 This is the file name the incremental backup will use to store
280 the incremental list. It will be $LIST-{some number}.
281 </para>
282 </listitem>
283 </varlistentry>
284
285 <varlistentry>
286 <term>DOTCOUNT=$LOGROOT/.count</term>
287 <listitem>
288 <para>
289 For counting as you go to know which incremental list to use
290 </para>
291 </listitem>
292 </varlistentry>
293
294
295 <varlistentry>
296 <term>COUNTER=$LOGROOT/counter-file</term>
297 <listitem>
298 <para>
299 For rewinding when done...might not use.
300 </para>
301 </listitem>
302 </varlistentry>
303
304 <varlistentry>
305 <term>BACKUPTAB=/etc/backuptab</term>
306 <listitem>
307 <para>
308 The file in which we keep our list of backup(s) we want to make.
309 </para>
310 </listitem>
311 </varlistentry>
312 </variablelist>
313 </refsect1>
314
315 <refsect1>
316 <title><filename>/etc/sysconfig/sendmail</filename></title>
317 <variablelist>
318 <varlistentry>
319 <term>DAEMON=yes|no</term>
320 <listitem>
321 <para>yes implies -bd</para>
322 </listitem>
323 </varlistentry>
324 <varlistentry>
325 <term>QUEUE=1h</term>
326 <listitem>
327 <para>given to sendmail as -q$QUEUE
328 -q option is not given to sendmail if /etc/sysconfig/sendmail
329 exists and QUEUE is empty or undefined.</para></listitem>
330 </varlistentry>
331 </variablelist>
332 </refsect1>
333
334 <refsect1>
335 <title><filename>/etc/sysconfig/i18n</filename></title>
336 <simplelist>
337 <member>LANG= can be any two letter ISO language code</member>
338 <member>
339 LC_ALL= is the setting of the localedata configuration (eg fr_CA)</member>
340 <member>
341 LINGUAS= can be a : separated list of language codes</member>
342 <member>
343 SYSTERM= use to set default TERM environment variable</member>
344 </simplelist>
345 <para>
346 The above three variables are used in rc.sysinit.</para>
347 <variablelist>
348 <varlistentry>
349 <term>SYSFONT= any font that is legal when used as</term>
350 <listitem>
351 <para> /usr/sbin/setfont $SYSFONT ...
352 (See kbd package for sysfont command)
353</para> </listitem>
354 </varlistentry>
355 <varlistentry>
356 <term>UNIMAP= any unicode font that is legal fodder for</term>
357 <listitem>
358 <para>/usr/sbin/setfont $SYSFONT-u $UNIMAP</para>
359 </listitem>
360 </varlistentry>
361 </variablelist>
362 <para>
363 The above is used by the /sbin/setsysfont command (which is run
364 by rc.sysinit at boot time).
365 </para>
366 </refsect1>
f5bd6b7f
JR
367
368 <refsect1>
369 <title><filename>/etc/sysconfig/\<service\></filename></title>
370 <para>
371 The following are used when starting service.
372 </para>
373 <variablelist>
374 <varlistentry>
375 <term>SERVICE_LIMITS="-u unlimited -c 0"</term>
376 <listitem>
377 <para>
378 System limits for this service.
379 </para>
380 </listitem>
381 </varlistentry>
382 <varlistentry>
383 <term>SERVICE_CPUSET="name"</term>
384 <listitem>
385 <para>
386 CPUSET to run this service in.
387 </para>
388 </listitem>
389 </varlistentry>
390 <varlistentry>
391 <term>SERVICE_UMASK="022"</term>
392 <listitem>
393 <para>
394 File creation mask for this service.
395 </para>
396 </listitem>
397 </varlistentry>
398 <varlistentry>
399 <term>SERVICE_RUN_NICE_LEVEL="0"</term>
400 <listitem>
401 <para>
402 Scheduling priority for this service.
403 </para>
404 </listitem>
405 </varlistentry>
406 </variablelist>
407 </refsect1>
16526de1 408</refentry>
409
410
411
412
6922f956 413<!-- to są informacje dla emacsa -->
16526de1 414<!-- Keep this comment at the end of the file
415Local variables:
416mode: sgml
417sgml-omittag:nil
418sgml-shorttag:nil
419sgml-minimize-attributes:nil
420sgml-always-quote-attributes:t
421sgml-indent-step:2
422sgml-indent-data:t
423sgml-parent-document:"rc-scripts.docb"
424sgml-default-dtd-file:nil
425sgml-exposed-tags:nil
426sgml-local-catalogs:nil
427sgml-local-ecat-files:nil
428sgml-declaration:nil
429sgml-validate-command:"nsgmls -s %s %s"
430End:
431-->
432
This page took 0.170183 seconds and 4 git commands to generate.