projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove obsolete patch
[openwrt.git]
/
package
/
base-files
/
default
/
lib
/
config
/
uci.sh
diff --git
a/package/base-files/default/lib/config/uci.sh
b/package/base-files/default/lib/config/uci.sh
index
ccd6ee5
..
957c1bb
100755
(executable)
--- a/
package/base-files/default/lib/config/uci.sh
+++ b/
package/base-files/default/lib/config/uci.sh
@@
-1,7
+1,7
@@
#!/bin/sh
# Shell script defining macros for manipulating config files
#
#!/bin/sh
# Shell script defining macros for manipulating config files
#
-# Copyright (C) 2006 by Fokus Fraunhofer <carsten.tittel@fokus.frau
m
hofer.de>
+# Copyright (C) 2006 by Fokus Fraunhofer <carsten.tittel@fokus.frau
n
hofer.de>
# Copyright (C) 2006 by Felix Fietkau <nbd@openwrt.org>
#
# This program is free software; you can redistribute it and/or modify
# Copyright (C) 2006 by Felix Fietkau <nbd@openwrt.org>
#
# This program is free software; you can redistribute it and/or modify
@@
-19,6
+19,7
@@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
uci_load() {
# 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}" ] && {
config_load "$PACKAGE"
local PACKAGE_BASE="$(basename "$PACKAGE")"
[ -f "/tmp/.uci/${PACKAGE_BASE}" ] && {
This page took
0.023607 seconds
and
4
git commands to generate.