# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+CONFIG_APPEND=
uci_load() {
local PACKAGE="$1"
local DATA
local OPTION="$3"
local VALUE="$4"
- [ -z "$VALUE" ] && return 0
+ [ "$#" = 4 ] || return 0
/sbin/uci -P /var/state set "$PACKAGE.$CONFIG${OPTION:+.$OPTION}=$VALUE"
}