You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
6 years ago
..
functions base-files: make it possible to specify switch led mode 6 years ago
preinit merge: base: update base-files and basic config 7 years ago
upgrade base-files: fwtool: Fix wrong checksum on combined-image with metadata 6 years ago
functions.sh base-files: fix prerm return value, align with postinst code 6 years ago