LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: Glen Turner <glen.turner@adelaide.edu.au>
To : linuxsa@linuxsa.org.au
Date: Mon, 06 Sep 1999 00:40:24 +0000
Re: Boot
Robyn Manning wrote:
>
> How do I edit the list of "programs"? run on booting Linux?
chkconfig is a simple way that should work on most distributions.
chkconfig --list syslog
syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
shows that the syslog (system logger) facility is started
in run levels 2, 3, 4 and 5.
The run levels are (from comments in /etc/inittab):
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
So to make facility xx work we do:
chkconfig --add xx
chkconfig xx on
Which relies on a file /etc/rc.d/init.d/xx, or /sbin/init.d/xx, depending
on your distribution.
If you don't have one of these files then you can add a line to
/etc/rc.d/rc.local to start the program manually, but this
never works as well as you hope.
There are also graphical tools, but ironically, they lack
the ease of use of chkconfig.
--
Glen Turner Network Specialist
Tel: (08) 8303 3936 Information Technology Services
Fax: (08) 8303 4400 The University of Adelaide 5005
Email: glen.turner@adelaide.edu.au South Australia
--
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
Return to the LinuxSA Mailing List Information Page