[yocto] Changing over to systemd (no dhcp)
Mike Looijmans
mike.looijmans at topic.nl
Sun Jan 22 23:15:24 PST 2017
On 21-01-17 13:41, Leon Woestenberg wrote:
> Hello Mike,
>
> On Fri, Jan 20, 2017 at 3:27 PM, Mike Looijmans <mike.looijmans at topic.nl
> <mailto:mike.looijmans at topic.nl>> wrote:
>
> An no one (except one of the systemd folks) has come up with a program
> that just waits for the the processes to finish (with a timeout) and only
> uses the "-9" double barrel shotgun to finish only the ones that didn't
> respond?
> (though doing that is rather pointless if the system power is about to be
> cut anyway...)
>
> What lesser-brain-dead "one of the systemd folks" solution is that?
Sorry if I wasn't clear. The systemd folk seems to have gotten it right.
The problem with the "sleep" is that 5 seconds is way too long, since most
processes will finish in mere milliseconds. But 5 seconds is also way too
short, because if a program needs to spin up a harddisk to write out its final
state, it'll need about 7 seconds to do so on the average 3.5" disk...
Kind regards,
Mike Looijmans
System Expert
TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans at topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
More information about the yocto
mailing list