fix a stupid copy&paste mistake
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Feb 2008 20:22:47 +0000 (20:22 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Feb 2008 20:22:47 +0000 (20:22 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10399 3c298f89-4303-0410-b956-a3cf2f4a3e73

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() {