mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
do not start multiple subshells for applying /etc/uci-defaults. use sh -x for hush compatibility
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18717 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user