Fix procd not handling rapid reboot signals very well
authorMichel Stam <m.stam@fugro.nl>
Thu, 2 Oct 2014 11:56:16 +0000 (11:56 +0000)
committerJohn Crispin <blogic@openwrt.org>
Thu, 2 Oct 2014 17:08:39 +0000 (19:08 +0200)
commit396a82c551ab02871ec0e6f399941c9379258bdc
tree2e383d48a1a2059e743350c062c6b7d6ffc4de58
parentc1a558f7d0c1e6c1ffa5a47d557a7b45205eef1d
Fix procd not handling rapid reboot signals very well

When keeping ctrl-alt-del pressed, or when running;
while true; do
    /sbin/reboot
done
effectively the procd shutdown cycle gets into an undefined state,

Signed-off-by: Michel Stam <m.stam@fugro.nl>
state.c