diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-02-05 01:47:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-02-05 01:47:47 +0000 |
commit | 6797c87a70b1bb7947e13ba540bb578d6d46f507 (patch) | |
tree | 8fc4bfd6181e2b5400f40e7a19d01e8263dddc16 /package/base-files | |
parent | c1193693228d5830cf6a65d871771a3603e439d7 (diff) | |
download | upstream-6797c87a70b1bb7947e13ba540bb578d6d46f507.tar.gz upstream-6797c87a70b1bb7947e13ba540bb578d6d46f507.tar.bz2 upstream-6797c87a70b1bb7947e13ba540bb578d6d46f507.zip |
add an extra safety check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10389 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/files/etc/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/functions.sh b/package/base-files/files/etc/functions.sh index 5ad45ecdba..af4eae23f5 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 |