summaryrefslogtreecommitdiff
path: root/package/base-files/files
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/base-files/files
parenta50852845e73bf884eb2a11b3bfdc9e7824e4cb9 (diff)
downloadmtk-20170518-3310901f9b674751683d5e995cdb2e5af5c9cfda.zip
mtk-20170518-3310901f9b674751683d5e995cdb2e5af5c9cfda.tar.gz
mtk-20170518-3310901f9b674751683d5e995cdb2e5af5c9cfda.tar.bz2
fix uci_load trash output (#1040)
SVN-Revision: 5745
Diffstat (limited to 'package/base-files/files')
-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 957c1bb..92bc1a0 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
}
}