mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 05:42:59 +02: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:
parent
87ab1e6c66
commit
4ec142cba0
@ -23,7 +23,7 @@ uci_load() {
|
||||
config_load "$PACKAGE"
|
||||
local PACKAGE_BASE="$(basename "$PACKAGE")"
|
||||
[ -f "/tmp/.uci/${PACKAGE_BASE}" ] && {
|
||||
. "/tmp/.uci/${PACKAGE_BASE}"
|
||||
. "/tmp/.uci/${PACKAGE_BASE}" 2>&/dev/null >&/dev/null
|
||||
config_cb
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user