Marek Pospisil writes:
> Hello everyone,
> 
> is it possible to recognize in '/lib/svc/method/my_service_script'
> that SMF is stopping the service because the system is shutting
> down/rebooting? I can't use 'who -r' since 'reboot' command does
> not change run level.
> 
> 
> Thanks.
> 
> Marek
> _______________________________________________
> smf-discuss mailing list
> smf-discuss at opensolaris.org

SMF doesn't make this information available to the services.

I'm curious, though, why is this information useful to the service when it
is stopping?

tom

Reply via email to