openwrt/package/base-files/files
Tony Ambardar e42415723b 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:46 +01:00
..
bin base-files: fix wan6 interface config generation for pppoe 2017-09-18 13:22:58 +02:00
etc base-files: fix unkillable processes after restart 2018-11-22 13:56:37 +01:00
lib base-files: fix prerm return value, align with postinst code 2018-11-29 11:54:46 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: sysupgrade: do not rely on opkg to list changed conffiles 2018-03-07 10:01:14 +01:00
usr base-files: suppress uci not found output in login.sh 2017-12-13 16:23:39 +01:00