fix uci_load trash output (#1040)
authorFelix Fietkau <nbd@openwrt.org>
Sun, 10 Dec 2006 03:37:14 +0000 (03:37 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 10 Dec 2006 03:37:14 +0000 (03:37 +0000)
SVN-Revision: 5745

package/base-files/files/lib/config/uci.sh

index 957c1bb..92bc1a0 100755 (executable)
@@ -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
        }
 }