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