>
>Or you can check this in the script, with net-tools or iproute, and use
>"use = network" (you must change the network_provider at net/*, with
>provide = network").
I don't want an also_start. I want that ypbind will start only if network is started, but not every time network is started.
This is what I want:
if network should be started, and ypbind should not - start network only.
if network should be started, and ypbind also should - start both.
if network should not be started, and ypbind also should not - start neither.
if network should not be started, and ypbind should be started - start neither.
In any one of those cases I want `ngc -n' to give me 100% in the end.if network should be started, and ypbind also should - start both.
if network should not be started, and ypbind also should not - start neither.
if network should not be started, and ypbind should be started - start neither.
I can check it within the script, but it's a bit ugly, especially if this is a daemon, and due to this I have to change it from `exec daemon' to `script daemon'.
Is there a way to check if services that are used (use=...) are on, as a part of the ifiles syntax? (not an explicit `ngc -s <service>' within a script)
This, I think, will solve my problem.
Gil Ran
-- _______________________________________________ Initng mailing list [email protected] http://jw.dyndns.org/mailman/listinfo/initng
