kiko wrote:
> On Fri, 27 Aug 1999, Pedro Brandao wrote:
>
> > I have two questions
> > 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/ ?
>
> I'd certainly say the rc is the 'right' way to go. sysconfig is a RH
> nightmare concocted by linuxconf, and I'd recommend steering clear of that
> path, for it leads to madness. The rc scripts work fine once you've got
> hold of the small issues (see below).
At first I also thought that (to be honest at first I didn't knew about
/etc/sysconfig/network-scripts/ )
But as Dave Mielke suggested (and I agreed) the right spot to do network
ifconfig should using ifdown/ifup.
It makes it cleaner and more readable for those use this approach.
> your script should have a 'touch /var/lock/subsys/_filename_' where
> filename is the script's name (and what goes into init.d, for that
> matter).
Yep you're right.
Morten Liljeberg had sent me that solution. I've tried earlier and it worked
just fine.
Thanks for your help
Pedro Brand�o