add an extra safety check
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Feb 2008 01:47:47 +0000 (01:47 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Feb 2008 01:47:47 +0000 (01:47 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10389 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/etc/functions.sh

index 5ad45ec..af4eae2 100755 (executable)
@@ -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
This page took 0.026896 seconds and 4 git commands to generate.