Ricardo Garcia wrote:
> On Wed, Mar 12, 2008 at 10:56 AM, Ian Lee <[EMAIL PROTECTED]> wrote:
>>  Thanks for the reply. I finally got it working. Here is how it works,
>>  this is gentoo specific:
>>
>>  net/eth0 script "needs" net/interface/eth0
>>  net/eth0 script "uses" daemon/dhcpcd/eth0
>>  net/eth0 script "provides" virtual/net & virtual/net/eth0
>>
>>  net/interface/eth0 calls /lib/initng/scripts/net/interfaces
>>
>>  net/eth0 & virtual/net now wait for dhcpcd to finish
>>
>>  I've altered LVM to work with gentoo as well, ill make a ticket for all
>>  these changes at some point
> 
> Quick question. Will the changes work on other distros? Just curious.
The net changes should work with any distro. The all volume scripts have 
moved to system/volume this includes dmraid dmsetup lvm evms sraid from 
system/mountroot. system/checkfs now uses system/volumes which i put in 
runlevel/defautt

where system/volumesthis looks like :

#!/sbin/runiscript
# This is an init script file, used by initng.

# SERVICE: system/volumes
# NAME:
# DESCRIPTION:
# WWW:

[ -f /etc/conf.d/volumes ] && . /etc/conf.d/volumes

setup()
{
         for  x in ${VOLUME_ORDER} ; do
                 DEPS="$DEPS system/volumes/$x"
         done
         iregister virtual
                 iset need = $DEPS
         idone
}

I have no idea how other distros do this
-- 
_______________________________________________
Initng mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/initng

Reply via email to