/etc/sysconfig thing?/etc/sysconfig thing?As for 2.0.5R, the primary configuration file is
/etc/sysconfig. All the options are to be specified in
this one and the other one (/etc/rc and
/etc/netstart) just include it.
Look in the /etc/sysconfig file and change the value to
match your system. This file is filled with comments to show what
to put in there.
The /etc/rc.local is here as always and is the place to
put additional services like INN or a http server.
The /etc/rc.serial is for serial port initialization
(e.g. locking the port characterictics, and so on.).
The /etc/rc.i386 is for Intel-specifics setting like the
iBCS2 emulation.
Starting with 2.1.0R, you can have "local" startup files in a
directory specified in /etc/sysconfig:
# Location of local startup files.
local_startup=/usr/local/etc/rc.local.d
Each file ending in .sh will be executed in alphabetic
order.
If you want to have a proper order without changing all the file names, you can use a scheme similar to the following with digits prepended to each file name to insure order:
10news.sh
15httpd.sh
20ssh.sh
It can be seen as ugly (or SysV :-)) but it provides a simple and
regular scheme for locally-added packages without resorting to
magical editing of /etc/rc.local.
/etc/sysconfig thing?