Skip to content
  • Karel Koci's avatar
    01a9124a
    updater/fix: add fix for sentinel firewall rules · 01a9124a
    Karel Koci authored
    Previous commit fixes uci_defaults for collect packages but also
    protects it against overwrite in future. This means that to apply fix we
    have to wipe previous rules. This packages is for that.
    
    Content of updater lists to apply this fix should be:
    if not version_match or not installed then
        if (installed["haas-proxy"] and version_match(installed["haas-proxy"].version, "<1.9-12")) or
    	(installed["sentinel-minipot"] and version_match(installed["sentinel-minipot"].version, "<1.1-3")) or
    	(installed["sentinel-dynfw-client"] and version_match(installed["sentinel-dynfw-client"].version, "<1-8")) then
        Install("fix-sentinel-remove-invalid-firewall-rules")
        for _, pkg in pairs({"haas-proxy", "sentinel-minipot", "sentinel-dynfw-client"}) do
    	Package(pkg, { deps = "fix-sentinel-remove-invalid-firewall-rules" })
        end
    end
    01a9124a
    updater/fix: add fix for sentinel firewall rules
    Karel Koci authored
    Previous commit fixes uci_defaults for collect packages but also
    protects it against overwrite in future. This means that to apply fix we
    have to wipe previous rules. This packages is for that.
    
    Content of updater lists to apply this fix should be:
    if not version_match or not installed then
        if (installed["haas-proxy"] and version_match(installed["haas-proxy"].version, "<1.9-12")) or
    	(installed["sentinel-minipot"] and version_match(installed["sentinel-minipot"].version, "<1.1-3")) or
    	(installed["sentinel-dynfw-client"] and version_match(installed["sentinel-dynfw-client"].version, "<1-8")) then
        Install("fix-sentinel-remove-invalid-firewall-rules")
        for _, pkg in pairs({"haas-proxy", "sentinel-minipot", "sentinel-dynfw-client"}) do
    	Package(pkg, { deps = "fix-sentinel-remove-invalid-firewall-rules" })
        end
    end
Loading