aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-11-03 02:08:17 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-11-03 02:08:17 +0000
commitb2cf662a0d54ddd4c3197c63b144a6d90c7a4c9d (patch)
tree52a939a8a5adb7734440ac6cd12e3f754a174555
parent130bb38a407c6ffe49f9d430e6a05a08d6251564 (diff)
downloadupstream-b2cf662a0d54ddd4c3197c63b144a6d90c7a4c9d.tar.gz
upstream-b2cf662a0d54ddd4c3197c63b144a6d90c7a4c9d.tar.bz2
upstream-b2cf662a0d54ddd4c3197c63b144a6d90c7a4c9d.zip
fix missing variable assignment (found by db90h)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5395 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/base-files/default/lib/config/uci.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/default/lib/config/uci.sh b/package/base-files/default/lib/config/uci.sh
index 87b7dcb130..957c1bb7ca 100755
--- a/package/base-files/default/lib/config/uci.sh
+++ b/package/base-files/default/lib/config/uci.sh
@@ -19,6 +19,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
uci_load() {
+ local PACKAGE="$1"
config_load "$PACKAGE"
local PACKAGE_BASE="$(basename "$PACKAGE")"
[ -f "/tmp/.uci/${PACKAGE_BASE}" ] && {