On Thu,30.Oct.08, 12:48:32, Stephen Liu wrote:
> Hi folks,
> 
> 
> Debian Etch
> bind-9.5.0 compiled on source
> chrooted
 
Hello,

In my very humble opinion, the point of using Debian (as opposed to LFS) 
would be that you have packages precompiled and ready to use, so you 
don't have to write init scripts by yourself.

In case you really, really need to recompile (because the Debian package 
disables some options or enables too many) you can always pull the 
sources for the Debian package and recompile that (incorporating 
whatever changes you need).
 
> Which file I have to edit adding;
> /etc/init.d/bind9 start
> 
> so bind9 will start automatically at boot.
 
That would be /etc/init.d/bind9 ;)

> # ls /etc/ | grep rc
> bash.bashrc
> inputrc
> nanorc
> rc.local
> rc0.d
> rc1.d
> rc2.d
> rc3.d
> rc4.d
> rc5.d
> rc6.d
> rcS.d
> wgetrc
> 
> 
> rc.local ?  It is an empty file.  Only "exit 0" is there.

Of course, what did you expect to find here? But if your script is 
specific to a package that it is usually better to use a separate file.  
There is somewhere a skeleton file which you can use to build your 
script, but I would rather take the script from the official Debian bind 
package and adapt to my needs.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature

Reply via email to