Hi, Eldar Yusupov wrote On 05/31/06 06:19,:
> Is it possible to define a transient service using SMF that will be executed > at single-user run level (after all services at this level are online), so > that no services from multi-user will start executing before this service > completes. > > In other words, I'm looking for an analogue of creating an > /etc/rc.S/S99myscript, You'll want to make your service specify milestone/single-user as a dependent, then. which will be executed as last on single-user run level, and the system won't switch to muli-user run level before it completes. milestones aren't run levels, and the system doesn't 'switch' to multi-user, exactly. I think of it as the system 'realizes" a milestone when all services for which that milestone is a dependent are enabled. It just becomes. It may help to frame your dependencies in terms of service, instead of milestone. If your service needs to start after some service that used to be rc.S/S98foo, then make it dependent on that. If this doesn't help, please come back and tell us what doesn't work. CT