openwrtv3/package/base-files/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
..
bin base-files: make it possible to specify switch led mode 2018-09-29 17:23:11 +02:00
etc base-files: fix unkillable processes after restart 2018-11-22 13:15:10 +01:00
lib base-files: fix prerm return value, align with postinst code 2018-11-29 11:52:56 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: sysupgrade: Allow downloading of firmware images using HTTPS 2018-11-25 19:26:50 +01:00
usr base-files: add menuconfig option for HOME_URL 2018-06-27 08:40:34 +02:00