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