diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-12-10 03:37:14 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-12-10 03:37:14 +0000 |
commit | 7ac94dfc7ebf03f4f2c5294f2b0e9c1f637e65e3 (patch) | |
tree | c0dac620bb88d6e911e9dd3a36d13bdbeadded88 /package/base-files/files/lib/config/uci.sh | |
parent | 070350b0d9f4807e33f89d7b1e533828e201e031 (diff) | |
download | upstream-7ac94dfc7ebf03f4f2c5294f2b0e9c1f637e65e3.tar.gz upstream-7ac94dfc7ebf03f4f2c5294f2b0e9c1f637e65e3.tar.bz2 upstream-7ac94dfc7ebf03f4f2c5294f2b0e9c1f637e65e3.zip |
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/lib/config/uci.sh')
-rwxr-xr-x | package/base-files/files/lib/config/uci.sh | 2 |
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 } } |