openwrtv4/package
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
..
base-files base-files: fix prerm return value, align with postinst code 2018-11-29 11:52:56 +01:00
boot apm821xx: add support for the Netgear WNDAP620 and WNDAP660 2018-11-26 12:05:46 +01:00
devel valgrind: enable LTO and refresh patches 2018-11-26 09:44:42 +01:00
firmware Revert "intel-microcode: create early load microcode image" 2018-11-27 18:58:37 +01:00
kernel mac80211: fix reordering of buffered broadcast packets 2018-11-28 23:23:38 +01:00
libs nghttp2: bump to 1.35.0 2018-11-25 20:22:15 +01:00
network openvpn: update to 2.4.6 2018-11-28 22:10:19 +01:00
system procd: update to latest git HEAD 2018-11-23 15:27:35 +01:00
utils util-linux: Update to 2.33 2018-11-15 21:19:37 +01:00
Makefile imagebuilder: reuse rootfs preparation from rootfs.mk 2018-03-07 09:59:08 +01:00