1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-04 06:36:21 +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"
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
}
}