From: Felix Fietkau Date: Sun, 10 Dec 2006 03:37:14 +0000 (+0000) Subject: fix uci_load trash output (#1040) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3310901f9b674751683d5e995cdb2e5af5c9cfda;p=openwrt%2Fstaging%2Fnbd.git fix uci_load trash output (#1040) SVN-Revision: 5745 --- 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 } }