base-files: /lib/functions.sh: ignore errors in insert_modules
authorMatthias Schiffer <mschiffer@universe-factory.net>
Tue, 17 Apr 2018 09:19:20 +0000 (11:19 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Tue, 17 Apr 2018 09:19:20 +0000 (11:19 +0200)
commitefb6ca189641aec64ba94f0d6d4e008fb2c1668b
tree728c2ff94bee9e6ca151632db2ab2e713bb33cc1
parentb5ba01a0d3f60457a726e2b3716b97888d3bd785
base-files: /lib/functions.sh: ignore errors in insert_modules

Package postinst will pass even names of builtin modules to insert_modules,
leading to postinst failing with error 255. This has been fixed in master
in r5279, but for lede-17.01 this minimal change is preferable.

Fixes FS#645, FS#893.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
package/base-files/Makefile
package/base-files/files/lib/functions.sh