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