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