openwrt/package/base-files
Marko Ratkaj a0ef1c478a functions.sh: fix default_postinst function
When we run "opkg install" on a package that installs an uci-defaults
script, functions.sh will fail to evaluate that script in its
default_postinst function.

This happens because there is no "./" present and it searches for the
file in paths specified by the PATH variable. This would work on bash,
but it will not work on ash and some other shells like sh, zsh. This
applys to the ". filename" directive used in this case.

This patch will make the path relative to the /etc/uci-defaults
directory.

Fixes: FS#1021

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2017-11-08 23:26:20 +01:00
..
files functions.sh: fix default_postinst function 2017-11-08 23:26:20 +01:00
image-config.in LEDE v17.01.4: revert to branch defaults 2017-10-18 11:54:32 +03:00
Makefile base-files: create /etc/config/ directory 2017-10-01 10:52:14 +02:00