On Aug 1, 2019, at 08:53, Rodney W. Grimes <freebsd-...@gndrsh.dnsmgr.net> 
wrote:

>> 
>> Is it possible in an rc script to distinguish between a manual stop
>> (e.g., service foo stop) and a stop during a system shutdown (via
>> rc.shutdown) ?
>> Are there any marker variables for that?
>> Or something in the global system state?
> 
> Not that I can think of, but I like this idea,
> I am sure that use cases exist.

Have you looked at:
keyword: shutdown
etc?

>> Andriy Gapon
> -- 
> Rod Grimes                                                 rgri...@freebsd.org
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to