1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 14:08:17 +02:00
openwrt/package/base-files
Tony Ambardar 8806da86f5 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>
2018-11-29 11:52:56 +01:00
..
files base-files: fix prerm return value, align with postinst code 2018-11-29 11:52:56 +01:00
image-config.in include/feeds.mk: rework generation of opkg distfeeds.conf 2018-07-12 21:18:41 +02:00
Makefile base-files: add network_get_metric() to /lib/functions/network.sh 2018-09-25 10:16:03 +02:00