[Initng] New sfile format
Ismael Luceno
ismael.luceno at gmail.com
Tue May 29 10:07:11 CEST 2007
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!"
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://jw.dyndns.org/pipermail/initng/attachments/20070529/e6144775/attachment.pgp
More information about the Initng
mailing list