aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/init.d/boot
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/etc/init.d/boot')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot7
1 files changed, 3 insertions, 4 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index aa9e967787..2ed4c50613 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