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 | 49080689d964de417c9bd5c4dc731ec7aa1bd82c (patch) | |
tree | 2853c7ec110abfc825cf74905d2f0f061f554c67 /package/base-files/files/etc | |
parent | 2e4ccd2aada91c77be16de9ec6c16b4d2ad080d7 (diff) | |
download | upstream-49080689d964de417c9bd5c4dc731ec7aa1bd82c.tar.gz upstream-49080689d964de417c9bd5c4dc731ec7aa1bd82c.tar.bz2 upstream-49080689d964de417c9bd5c4dc731ec7aa1bd82c.zip |
add an extra safety check
SVN-Revision: 10389
Diffstat (limited to 'package/base-files/files/etc')
-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 |