On 2015-09-07 13:12 +0200, Anselm R Garbe wrote:
> How do you reflect the running init process that it should re-exec
> itself from your stop script?
You mean how do I notify init? Well, I send it a signal. It should be
quite simple to do this in sinit without a new signal: just get it
reexec itself before spawning.
Or an alternative idea based on Askar's link is just to exec the
shutdown script directly instead of forking it. But not sure that's a
good idea.
--
Balazs
Received on Mon Sep 07 2015 - 13:55:14 CEST