aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-10 03:37:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-10 03:37:14 +0000
commit3310901f9b674751683d5e995cdb2e5af5c9cfda (patch)
tree91a4e524a107dc39ef9872a2c2d80a7942562dec /package
parenta50852845e73bf884eb2a11b3bfdc9e7824e4cb9 (diff)
downloadupstream-3310901f9b674751683d5e995cdb2e5af5c9cfda.tar.gz
upstream-3310901f9b674751683d5e995cdb2e5af5c9cfda.tar.bz2
upstream-3310901f9b674751683d5e995cdb2e5af5c9cfda.zip
fix uci_load trash output (#1040)
SVN-Revision: 5745
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/lib/config/uci.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/config/uci.sh b/package/base-files/files/lib/config/uci.sh
index 957c1bb7ca..92bc1a0b8d 100755
--- 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
}
}