]> git.pld-linux.org Git - projects/rc-scripts.git/blob - doc/sysconfig.txt
massive :$
[projects/rc-scripts.git] / doc / sysconfig.txt
1 $Id: sysconfig.txt,v 1.3 1999/07/13 12:49:35 misiek Exp $
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
40   IPV6NETWORKING=yes|no
41   HOSTNAME=<fqdn by default, but whatever hostname you want>
42     Note: for compatibility with some old software people might
43     install (like trn), the /etc/HOSTNAME file should contain the
44     same value as here.
45   FORWARD_IPV4=yes|no (The current Red Hat Linux installation
46     sets this to no by default for RFC compliance, but if
47     FORWARD_IPV4 is not set at all, forwarding is *enabled*
48     for compatibility with the configuration files used on
49     Red Hat Linux versions 4.2 and earlier.)
50   IGNORE_ICMP_BCAST_IPV4=yes|no (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.
54   SPOOFING_IPV4=yes|no (anti spoofing protection)
55   GATEWAY=<gateway IP>
56   GATEWAYDEV=<gateway device> (e.g. eth0)
57   NISDOMAIN=<nis domain name>
58   IPX=yes|no
59   IPXAUTOPRIMARY=on|off (note, that MUST be on|off, not yes|no)
60   IPXAUTOFRAME=on|off (again, not yes|no)
61   IPXINTERNALNETNUM=<netnum>
62   IPXINTERNALNODENUM=<nodenum>
63
64   All the IPX stuff is optional, and should default to off.
65
66 /etc/sysconfig/static-nat
67
68   Configuration file for static Network Address Translation (NAT).
69   Contains lines of the form:
70
71     <address> via <addressreal>
72
73   NAT will translate address <address> to <addressreal>.
74
75 /etc/sysconfig/static-routes:
76
77   Contains lines of the form:
78
79     <device> to [type] <network>/<prefix> via <gateway>
80
81   <device> may be a device name to have the route brought up and
82   down with the device, or "any" to have the correct devices calculated
83   at run time. [type] is optional. RH style isn't supported !
84
85   Also you can set few options after "<gateway>":
86     tos <tos>
87     metric <number>
88     table <table>
89     src <address>
90     realm <realmid>
91     mtu <mtu> or mtu lock <mtu>
92     window <number>
93     rtt <number>
94     nexthop <nexthop>
95     scope <scope>
96     protocol <rtproto>
97     onlink
98     equalize
99   For more informations see iproute2 documentation .
100
101 /etc/sysconfig/routed:
102
103   SILENT=yes|no
104   EXPORT_GATEWAY=yes|no
105
106 /etc/sysconfig/pcmcia:
107
108   PCMCIA=yes|no
109   PCIC=i82365|tcic
110   PCIC_OPTS=<socket driver (i82365 or tcic) timing parameters>
111   CORE_OPTS=<pcmcia_core options>
112   CARDMGR_OPTS=<cardmgr options>
113
114 /etc/sysconfig/amd:
115
116   ADIR=/.automount  (normally never changed)
117   MOUNTPTS='/net /etc/amd.conf'  (standard automount stuff)
118   AMDOPTS=  (extra options for AMD)
119
120 /etc/sysconfig/tape:
121
122   DEV=/dev/nst0
123     Tape device.  Use the non-rewinding one for these scripts.
124   
125     For SCSI tapes this is /dev/nst#, where # is the number of the
126     tape drive you want to use.  If you only have one then use
127     nst0.
128  
129     For IDE tapes you use /dev/ht#, where # is the number of the tape
130     drive you want to use (usually ht0).
131  
132     For floppy tape drives use /dev/ftape.
133
134   ADMIN=root
135     Person to mail to if the backup fails for any reason
136
137   SLEEP=5
138     Time to sleep between tape operations.  Some drives need a bit
139     more than others, but 5 seems to work for 8mm, 4mm, and DLT
140
141   BLOCKSIZE=32768
142     This worked fine for 8mm, then 4mm, and now DLT.  An optimal
143     setting is probably however much data your drive writes at one
144     time.
145
146   SHORTDATE=$(date +%y:%m:%d:%H:%M)
147     A short date string, used in backup log filenames.
148
149   DAY=$(date +log-%y:%m:%d)
150     This is used for the log file directory.
151
152   DATE=$(date)
153     Regular date string, used in log files.
154
155   LOGROOT=/var/log/backup
156     Root of the logging directory
157
158   LIST=$LOGROOT/incremental-list
159     This is the file name the incremental backup will use to store
160     the incremental list.  It will be $LIST-{some number}.
161
162   DOTCOUNT=$LOGROOT/.count
163     For counting as you go to know which incremental list to use
164
165   COUNTER=$LOGROOT/counter-file
166     For rewinding when done...might not use.
167
168   BACKUPTAB=/etc/backuptab
169     The file in which we keep our list of backup(s) we want to make.
170
171 /etc/sysconfig/sendmail:
172   DAEMON=yes|no
173     yes implies -bd
174   QUEUE=1h
175     given to sendmail as -q$QUEUE
176     -q option is not given to sendmail if /etc/sysconfig/sendmail
177     exists and QUEUE is empty or undefined.
178
179 /etc/sysconfig/i18n
180
181   LANG= can be any two letter ISO language code
182   LC_ALL= is the setting of the localedata configuration (eg fr_CA)
183   LINGUAS= can be a : separated list of language codes
184   SYSTERM= use to set default TERM environment variable
185
186   The above three variables are used in rc.sysinit.
187
188   SYSFONT= any font that is legal when used as
189         /usr/sbin/setfont $SYSFONT ...
190     (See kbd package for sysfont command)
191
192   UNIMAP= any unicode font that is legal fodder for
193         /usr/sbin/setfont $SYSFONT-u $UNIMAP
194
195   The above is used by the /sbin/setsysfont command (which is run
196   by rc.sysinit at boot time).
This page took 0.037446 seconds and 3 git commands to generate.