fix a stupid copy&paste mistake
[openwrt-10.03/.git] / 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() {