[WIP] Add RecoverIPTables command on linux

This commit is contained in:
Vladimir Stoilov
2024-09-30 14:33:05 +03:00
parent 97ce3c087c
commit a452f0cbf6
4 changed files with 103 additions and 2 deletions

View File

@@ -33,13 +33,15 @@ func init() {
}
func main() {
flag.Parse()
// Call platform specific checks, that will execute commands like "recover-iptables"
platformSpecificChecks()
instance := initialize()
run(instance)
}
func initialize() *service.Instance {
flag.Parse()
// set information
info.Set("Portmaster", "", "GPLv3")