X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5362dd1b5a8b234e6427221e7d46d66ce7b69849..653a848d6dbd7d56c924ede88d76004c7ddcf0eb:/package/base-files/files/etc/init.d/boot?ds=inline diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index aa9e96778..2ed4c5061 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -35,10 +35,9 @@ system_config() { [ -x /sbin/klogd ] && klogd ${klogconloglevel:+-c $klogconloglevel} } -apply_uci_config() {( - include /lib/config - uci_apply_defaults -)} +apply_uci_config() { + sh -c '. /etc/functions.sh; include /lib/config; uci_apply_defaults' +} start() { [ -f /proc/mounts ] || /sbin/mount_root