projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add an extra safety check
[openwrt/openwrt.git]
/
package
/
base-files
/
files
/
etc
/
functions.sh
diff --git
a/package/base-files/files/etc/functions.sh
b/package/base-files/files/etc/functions.sh
index 5ad45ecdba6f6a375cd856a2ddd1375f3b5224fb..af4eae23f59c229afce7ae88c10b366e6a6847a3 100755
(executable)
--- 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