Re: [dev] sinit umount problem

From: Balazs Kezes <rlblaster_AT_gmail.com>
Date: Mon, 7 Sep 2015 12:55:14 +0100

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

This archive was generated by hypermail 2.3.0 : Mon Sep 07 2015 - 14:00:11 CEST