sysupgrade: Enable killing of all processes under upgraded
authorJohn Crispin <john@openwrt.org>
Thu, 10 Jul 2014 19:16:27 +0000 (19:16 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 10 Jul 2014 19:16:27 +0000 (19:16 +0000)
commitbe26421f455e392178c98328d142d1d2494e0ede
tree45330fe77411b14abcf892dde404870859ecb5d4
parentf8f66785748ea3f3ae049a836b14c5c24880b67c
sysupgrade: Enable killing of all processes under upgraded

If the sysupgrade scripts is called under upgraded, it will not kill all
other processes as it should to avoid interference by locked filesystem.
This patch checks the parent and if it is upgraded, it kills all.

Signed-off-by: André Valentin <avalentin@marcant.net>
SVN-Revision: 41563
package/base-files/files/lib/upgrade/common.sh