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 | |
parent | 2e4ccd2aada91c77be16de9ec6c16b4d2ad080d7 (diff) | |
download | mtk-20170518-49080689d964de417c9bd5c4dc731ec7aa1bd82c.zip mtk-20170518-49080689d964de417c9bd5c4dc731ec7aa1bd82c.tar.gz mtk-20170518-49080689d964de417c9bd5c4dc731ec7aa1bd82c.tar.bz2 |
add an extra safety check
SVN-Revision: 10389
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 5ad45ec..af4eae2 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 |