Backport scheme and uci fixes
authorSteven Barth <steven@midlink.org>
Sun, 14 Sep 2008 19:12:23 +0000 (19:12 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 14 Sep 2008 19:12:23 +0000 (19:12 +0000)
libs/uci/luasrc/model/uci.lua
libs/uvl/root/lib/uci/schema/default/network
libs/uvl/root/lib/uci/schema/default/wireless
modules/freifunk/root/etc/config/freifunk

index 2385cc3..587cd63 100644 (file)
@@ -77,7 +77,7 @@ function Cursor.delete_all(self, config, stype, comparator)
                local tbl = comparator
                comparator = function(section)
                        for k, v in pairs(tbl) do
-                               if not section[k] == v then
+                               if section[k] ~= v then
                                        return false
                                end
                        end 
index 726fdb7..57d02a6 100644 (file)
@@ -20,7 +20,6 @@ config variable
        option name     'ifname'
        option title    'Physical interface'
        option section  'network.interface'
-       option required true
 
 config variable
        option name     'macaddr'
index 562d1a4..d148b9b 100644 (file)
@@ -25,7 +25,6 @@ config variable
        option name 'channel'
        option section 'wireless.wifi-device'
        option title 'Channel'
-       option datatype uint
 
 config variable
        option name 'mode'
index b27eaa6..9952122 100644 (file)
@@ -16,25 +16,25 @@ config settings wizard
            
 
 config fw_rule http
-       option source freifunk
+       option src freifunk
        option target ACCEPT
        option proto  tcp
        option dest_port 80
        
 config fw_rule https
-       option source freifunk
+       option src freifunk
        option target ACCEPT
        option proto  tcp
        option dest_port 443
         
 config fw_rule ssh
-       option source freifunk
+       option src freifunk
        option target ACCEPT
        option proto  tcp
        option dest_port 22
 
 config fw_rule olsr
-       option source freifunk
+       option src freifunk
        option target ACCEPT
        option proto  udp
        option dest_port 698