fix uci_load trash output (#1040)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5745 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
070350b0d9
commit
7ac94dfc7e
|
@ -23,7 +23,7 @@ uci_load() {
|
||||||
config_load "$PACKAGE"
|
config_load "$PACKAGE"
|
||||||
local PACKAGE_BASE="$(basename "$PACKAGE")"
|
local PACKAGE_BASE="$(basename "$PACKAGE")"
|
||||||
[ -f "/tmp/.uci/${PACKAGE_BASE}" ] && {
|
[ -f "/tmp/.uci/${PACKAGE_BASE}" ] && {
|
||||||
. "/tmp/.uci/${PACKAGE_BASE}"
|
. "/tmp/.uci/${PACKAGE_BASE}" 2>&/dev/null >&/dev/null
|
||||||
config_cb
|
config_cb
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue