From 4ec142cba0131c4661cce5825281a7efc0bf4fa5 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 10 Dec 2006 03:37:14 +0000 Subject: fix uci_load trash output (#1040) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5745 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/lib/config/uci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files') 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 } } -- cgit v1.2.3