X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f52d66ff00b24111f87c274d3d7085ef2e1d27b1..da649a585720b643540b05cb881b0c34c44b6a8e:/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 ccd6ee57b..957c1bb7c 100755 --- 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 # -# Copyright (C) 2006 by Fokus Fraunhofer +# Copyright (C) 2006 by Fokus Fraunhofer # Copyright (C) 2006 by Felix Fietkau # # 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() { + local PACKAGE="$1" config_load "$PACKAGE" local PACKAGE_BASE="$(basename "$PACKAGE")" [ -f "/tmp/.uci/${PACKAGE_BASE}" ] && {