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 | 3310901f9b674751683d5e995cdb2e5af5c9cfda (patch) | |
tree | 91a4e524a107dc39ef9872a2c2d80a7942562dec | |
parent | a50852845e73bf884eb2a11b3bfdc9e7824e4cb9 (diff) | |
download | mtk-20170518-3310901f9b674751683d5e995cdb2e5af5c9cfda.zip mtk-20170518-3310901f9b674751683d5e995cdb2e5af5c9cfda.tar.gz mtk-20170518-3310901f9b674751683d5e995cdb2e5af5c9cfda.tar.bz2 |
fix uci_load trash output (#1040)
SVN-Revision: 5745
-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 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 } } |