projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix uci_load trash output (#1040)
[openwrt/svn-archive/archive.git]
/
package
/
base-files
/
files
/
lib
/
config
/
uci.sh
diff --git
a/package/base-files/files/lib/config/uci.sh
b/package/base-files/files/lib/config/uci.sh
index 957c1bb7cacefb3e859e82fd6991b6d721da3608..92bc1a0b8d8e4355917b93ef72229545c8276c6b 100755
(executable)
--- a/
package/base-files/files/lib/config/uci.sh
+++ b/
package/base-files/files/lib/config/uci.sh
@@
-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
}
}