Date: Thu, 1 Aug 2019 10:30:14 -0700 From: Enji Cooper <yaneurabeya@gmail.com> To: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> Cc: Andriy Gapon <avg@freebsd.org>, freebsd-rc@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: rc script: manual stop vs system shutdown Message-ID: <B4B80699-3A08-4CA9-AC19-59B48CB3CB7E@gmail.com> In-Reply-To: <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net> References: <201908011553.x71FrTCd060252@gndrsh.dnsmgr.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 1, 2019, at 08:53, Rodney W. Grimes <freebsd-rwg@gndrsh.dnsmgr.net> w= rote: >>=20 >> 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? >=20 > 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 > --=20 > Rod Grimes rgrimes@freebsd= .org > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B4B80699-3A08-4CA9-AC19-59B48CB3CB7E>