fix a stupid copy&paste mistake
authorFelix Fietkau <nbd@openwrt.org>
Tue, 5 Feb 2008 20:22:47 +0000 (20:22 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 5 Feb 2008 20:22:47 +0000 (20:22 +0000)
SVN-Revision: 10399

package/uci/files/uci/lib/config/uci.sh

index bfec4febbe39b0ab364038ba38c0863123748de9..c221dcdc6bc97d80427f4763b89f790c98a91f7c 100644 (file)
@@ -60,7 +60,7 @@ uci_set() {
        local OPTION="$3"
        local VALUE="$4"
 
-       /sbin/uci set "$PACKAGE.$CONFIG.$OPTION=$TYPE"
+       /sbin/uci set "$PACKAGE.$CONFIG.$OPTION=$VALUE"
 }
 
 uci_add() {