mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
fix uci_load trash output (#1040)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5745 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user