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)
commitca41421c0e82e43d78d34dc6bf2c2e43f9ef6da1
tree3258a3be3120f3efaec89f8ff53263814439f8b1
parent4023a5e5beeaf73d478fa958c77a5d4ddcbe6d33
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