]> git.pld-linux.org Git - projects/rc-scripts.git/blob - doc/sysconfig.txt
Synced with latest from old repo
[projects/rc-scripts.git] / doc / sysconfig.txt
1
2 Files 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
39   IPV6NETWORKING=yes|no
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.)
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)
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
65 /etc/sysconfig/static-routes:
66
67   Contains lines of the form:
68
69     <device> net <network> netmask <netmask> gw <gateway>
70
71   <device> may be a device name to have the route brought up and
72   down with the device, or "any" to have the correct devices calculated
73   at run time.
74
75 /etc/sysconfig/routed:
76
77   SILENT=yes|no
78   EXPORT_GATEWAY=yes|no
79
80 /etc/sysconfig/pcmcia:
81
82   PCMCIA=yes|no
83   PCIC=i82365|tcic
84   PCIC_OPTS=<socket driver (i82365 or tcic) timing parameters>
85   CORE_OPTS=<pcmcia_core options>
86   CARDMGR_OPTS=<cardmgr options>
87
88 /etc/sysconfig/amd:
89
90   ADIR=/.automount  (normally never changed)
91   MOUNTPTS='/net /etc/amd.conf'  (standard automount stuff)
92   AMDOPTS=  (extra options for AMD)
93
94 /etc/sysconfig/tape:
95
96   DEV=/dev/nst0
97     Tape device.  Use the non-rewinding one for these scripts.
98   
99     For SCSI tapes this is /dev/nst#, where # is the number of the
100     tape drive you want to use.  If you only have one then use
101     nst0.
102  
103     For IDE tapes you use /dev/ht#, where # is the number of the tape
104     drive you want to use (usually ht0).
105  
106     For floppy tape drives use /dev/ftape.
107
108   ADMIN=root
109     Person to mail to if the backup fails for any reason
110
111   SLEEP=5
112     Time to sleep between tape operations.  Some drives need a bit
113     more than others, but 5 seems to work for 8mm, 4mm, and DLT
114
115   BLOCKSIZE=32768
116     This worked fine for 8mm, then 4mm, and now DLT.  An optimal
117     setting is probably however much data your drive writes at one
118     time.
119
120   SHORTDATE=$(date +%y:%m:%d:%H:%M)
121     A short date string, used in backup log filenames.
122
123   DAY=$(date +log-%y:%m:%d)
124     This is used for the log file directory.
125
126   DATE=$(date)
127     Regular date string, used in log files.
128
129   LOGROOT=/var/log/backup
130     Root of the logging directory
131
132   LIST=$LOGROOT/incremental-list
133     This is the file name the incremental backup will use to store
134     the incremental list.  It will be $LIST-{some number}.
135
136   DOTCOUNT=$LOGROOT/.count
137     For counting as you go to know which incremental list to use
138
139   COUNTER=$LOGROOT/counter-file
140     For rewinding when done...might not use.
141
142   BACKUPTAB=/etc/backuptab
143     The file in which we keep our list of backup(s) we want to make.
144
145 /etc/sysconfig/sendmail:
146   DAEMON=yes|no
147     yes implies -bd
148   QUEUE=1h
149     given to sendmail as -q$QUEUE
150     -q option is not given to sendmail if /etc/sysconfig/sendmail
151     exists and QUEUE is empty or undefined.
152
153 /etc/sysconfig/i18n
154
155   LANG= can be any two letter ISO language code
156   LC_ALL= is the setting of the localedata configuration (eg fr_CA)
157   LINGUAS= can be a : separated list of language codes
158   SYSTERM= use to set default TERM environment variable
159
160   The above three variables are used in rc.sysinit.
161
162   SYSFONT= any font that is legal when used as
163         /usr/sbin/setfont $SYSFONT ...
164     (See kbd package for sysfont command)
165
166   UNIMAP= any unicode font that is legal fodder for
167         /usr/sbin/setfont $SYSFONT-u $UNIMAP
168
169   The above is used by the /sbin/setsysfont command (which is run
170   by rc.sysinit at boot time).
This page took 0.049045 seconds and 4 git commands to generate.