On Fri, 27 Aug 1999, Pedro Brandao wrote:
> 1. Is init levels the correct place to put this initialization, or I
>should only launch/stop the daemons in init and do the interface
>configurations in /etc/sysconfig/network-scripts/ ?
Just start/stop your daemons in the init script. It's best to do the start/stop
of the interfaces from /etc/sysconfig/network-scripts, as that'll let you use
the ifup/ifdown commands.
> 2. (more important) The servers aren't stopped when I halt or reboot
>the system (level 0 and 6). The echo saying that they were killed doesn't
>appear. The start process runs ok.
Your init script looks okay, except for one thing.
># chkconfig: 2345 97 12
You're starting/stopping the daemons way too late/early. They should be started
before network, and stopped after network. Check your system to be sure, but my
network init script says:
# chkconfig: 2345 10 90
I would suggest, therefore, that you use something like:
# chkconfig: 2345 9 91
--
Dave Mielke | 856 Grenon Avenue | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me
EMail: [EMAIL PROTECTED] | Canada K2B 6G3 | if you're concerned about Hell.