openwrt/package/base-files
Marko Ratkaj 73c745f64f 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:18:22 +01:00
..
files functions.sh: fix default_postinst function 2017-11-08 23:18:22 +01:00
Makefile base-files: add interval option to netdev LED trigger configuration 2017-11-03 20:04:52 +01:00
image-config.in build: add buildbot specific config option for setting defaults 2017-02-14 14:18:35 +01:00