Rework of shutdown policy in inittab
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 11 Jan 2012 17:09:22 +0000 (18:09 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 11 Jan 2012 17:33:03 +0000 (18:33 +0100)
commita0aa54eb0d741108743d230bce2f2deb054ba9c5
tree06a68854b1a9352959e919a52f1a034daba5cf3f
parente6480f2bb91e2df46096ed5f6ef8d3138cd38470
Rework of shutdown policy in inittab

This commit follows commit ad501b66. Start up of the busybox logging
daemons were moved to an init script but the shutdown were still
performed in inittab. This commit moves the shutdown policy to an
rcK script that calls the stop function of all the init scripts in
a reversed order.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
fs/skeleton/etc/init.d/rcK [new file with mode: 0755]
fs/skeleton/etc/inittab