summaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-10 03:37:14 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-10 03:37:14 +0000
commit4ec142cba0131c4661cce5825281a7efc0bf4fa5 (patch)
treec0dac620bb88d6e911e9dd3a36d13bdbeadded88 /package/base-files/files
parent87ab1e6c667e4467edeed0ef82f6278068aad05a (diff)
fix uci_load trash output (#1040)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5745 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 957c1bb7c..92bc1a0b8 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
}
}