1
0
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:
nbd
2006-12-10 03:37:14 +00:00
parent 87ab1e6c66
commit 4ec142cba0

View File

@@ -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
} }
} }