The following format looks nice, but it has a problem,
if we want to register service/some, it will also register
service/some/some if we try it. The problem is that we don't
set $NAME appropriately yet..


# SERVICE: some/service/one
setup_one()
{
        iregister service
                iset need = system/bootmisc
                iexec start
        idone
}

# SERVICE: some/service/two
setup_two()
{
        iregister service
                iset need = some/service/one
                iexec start
        idone
}

start()
{
        echo "$NAME started!"
}

Attachment: signature.asc
Description: PGP signature

-- 
_______________________________________________
Initng mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/initng

Reply via email to