On Sat, 2005-12-10 at 03:31 +0000, Karl wrote:
> > It's ok, I am studying the "/etc/rc.d/init.d/localnet"

Solved:

- in "/etc/initng/net/lo" -

service net/lo {
        # */
        need = system/mountfs system/modules system/hostname;
        use = system/static-modules system/coldplug;
        exec start = /etc/rc.d/init.d/localnet;
        exec_args start = start;
        exec stop  = /etc/rc.d/init.d/localnet;
        exec_args stop = stop;
}

- and in "/etc/initng/net/eth0" -

service net/eth0 {
        # */
        need = system/mountfs system/modules system/hostname;
        use = system/static-modules system/coldplug;
        exec start = /etc/rc.d/init.d/network;
        exec_args start = start;
        exec stop  = /etc/rc.d/init.d/network;
        exec_args stop = stop;
}

Simple but effective.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to