openwrt/package/base-files
Tony Ambardar d40de11d1b base-files: fix prerm return value, align with postinst code
The return value of a package prerm script is discarded and not returned
correctly by default_prerm(). This allows other operations like service
shutdown to "leak" their return value, prompting workarounds like commit
48cfc826 which do not address the root cause.

Preserve a package prerm script return value for use by default_prerm(),
sharing the corresponding code from default_postinst() for consistency.
Also use consistent code for handling of /etc/init.d/ scripts.

Run Tested on: LEDE 17.01.4 running ar71xx.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
(cherry picked from commit 8806da86f5)
2018-11-29 11:54:20 +01:00
..
files base-files: fix prerm return value, align with postinst code 2018-11-29 11:54:20 +01:00
Makefile base-files: network.sh: gracefully handle missing network.interface ubus ns 2018-07-30 13:19:19 +02:00
image-config.in OpenWrt v18.06.1: revert to branch defaults 2018-08-16 18:36:52 +02:00