From b079d40fb75e515e41c9e9555c0a2e89a90196bb Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 5 Feb 2008 01:47:47 +0000 Subject: [PATCH] add an extra safety check git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10389 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/etc/functions.sh b/package/base-files/files/etc/functions.sh index 5ad45ecdb..af4eae23f 100755 --- a/package/base-files/files/etc/functions.sh +++ b/package/base-files/files/etc/functions.sh @@ -208,4 +208,4 @@ uci_apply_defaults() {( uci commit )} -[ -z "$IPKG_INSTROOT" ] && . /lib/config/uci.sh +[ -z "$IPKG_INSTROOT" -a -f /lib/config/uci.sh ] && . /lib/config/uci.sh