Hi,
I was wondering if there's way either in script (stop method itself) or 
by using libscf in my code to query the reason why the service is 
calling stop method.

Basically I'd like to react differently based on whether 'svcadm 
restart' or 'svcadm disable' caused the stop method to be called. 
Actually in my case I just want to distinguish restart from other 
reasons of invocating the stop method.

Is there a way?

Many thanks,
    Lubos.

Reply via email to