summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-03 02:08:17 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-03 02:08:17 +0000
commitedfafff062b283ccf09c789b4e2344691c567676 (patch)
tree52a939a8a5adb7734440ac6cd12e3f754a174555 /package
parentd5583787a6d58688c00df4e4584f692df68130ce (diff)
fix missing variable assignment (found by db90h)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5395 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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}" ] && {