Backport scheme and uci fixes

This commit is contained in:
Steven Barth 2008-09-14 19:12:23 +00:00
parent e81501aed4
commit 1932ef3294
4 changed files with 5 additions and 7 deletions

View file

@ -77,7 +77,7 @@ function Cursor.delete_all(self, config, stype, comparator)
local tbl = comparator local tbl = comparator
comparator = function(section) comparator = function(section)
for k, v in pairs(tbl) do for k, v in pairs(tbl) do
if not section[k] == v then if section[k] ~= v then
return false return false
end end
end end

View file

@ -20,7 +20,6 @@ config variable
option name 'ifname' option name 'ifname'
option title 'Physical interface' option title 'Physical interface'
option section 'network.interface' option section 'network.interface'
option required true
config variable config variable
option name 'macaddr' option name 'macaddr'

View file

@ -25,7 +25,6 @@ config variable
option name 'channel' option name 'channel'
option section 'wireless.wifi-device' option section 'wireless.wifi-device'
option title 'Channel' option title 'Channel'
option datatype uint
config variable config variable
option name 'mode' option name 'mode'

View file

@ -16,25 +16,25 @@ config settings wizard
config fw_rule http config fw_rule http
option source freifunk option src freifunk
option target ACCEPT option target ACCEPT
option proto tcp option proto tcp
option dest_port 80 option dest_port 80
config fw_rule https config fw_rule https
option source freifunk option src freifunk
option target ACCEPT option target ACCEPT
option proto tcp option proto tcp
option dest_port 443 option dest_port 443
config fw_rule ssh config fw_rule ssh
option source freifunk option src freifunk
option target ACCEPT option target ACCEPT
option proto tcp option proto tcp
option dest_port 22 option dest_port 22
config fw_rule olsr config fw_rule olsr
option source freifunk option src freifunk
option target ACCEPT option target ACCEPT
option proto udp option proto udp
option dest_port 698 option dest_port 698