diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-02-05 01:47:47 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-02-05 01:47:47 +0000 |
commit | b079d40fb75e515e41c9e9555c0a2e89a90196bb (patch) | |
tree | 8fc4bfd6181e2b5400f40e7a19d01e8263dddc16 /package | |
parent | cb408bd0c006483475488d17bb840bdf29e438d8 (diff) |
add an extra safety check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10389 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 |