X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f52d66ff00b24111f87c274d3d7085ef2e1d27b1..a2e6a5c0995cbd0e5ecd95ddb42d2c67f3c28c59:/package/base-files/default/lib/config/uci.sh?ds=sidebyside 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}" ] && {