Backport scheme and uci fixes
This commit is contained in:
parent
e81501aed4
commit
1932ef3294
4 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue