[Buildroot] [PATCH] Rework of shutdown policy in inittab

Gustavo Zacarias gustavo at zacarias.com.ar
Wed Dec 7 09:50:29 UTC 2011


On 07.12.2011 04:26, Kelvin Cheung wrote:

> Pherhaps solution 1 is simple and feasible.
> Most Sxxxx scripts under dir package provide stop() function
> currently.
> And by this policy, the programs/daemons are just what should be
> killed, which are started at startup.
>  We do not need to maintain consistency between Sxxxx and Kxxxx.

I'd go for option 2. it results in a saner behaviour if people don't 
handle the stop condition as Thomas pointed out.
Otherwise you can get nasty messages from console when people for 
example try to mount some filesystem in a custom script that don't make 
a disctintion between start/stop and things like that.
Regards.


More information about the buildroot mailing list