add an extra safety check

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10389 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2008-02-05 01:47:47 +00:00
parent c119369322
commit 6797c87a70

View File

@@ -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