From c3d379be5ba536e950984f45e0a221e844d46e30 Mon Sep 17 00:00:00 2001 From: kload Date: Sat, 31 Oct 2015 21:43:25 +0100 Subject: [PATCH] Revert 95cbff27a9f27ce7d0a661c8548c2a408f96e5a2 --- data/actionsmap/yunohost.yml | 3 --- src/yunohost/firewall.py | 4 ---- 2 files changed, 7 deletions(-) diff --git a/data/actionsmap/yunohost.yml b/data/actionsmap/yunohost.yml index c104f0005..bf6291614 100644 --- a/data/actionsmap/yunohost.yml +++ b/data/actionsmap/yunohost.yml @@ -1017,9 +1017,6 @@ firewall: reload: action_help: Reload all firewall rules api: PUT /firewall - configuration: - authenticate: false - lock: false arguments: --skip-upnp: help: Do not refresh port forwarding using UPnP diff --git a/src/yunohost/firewall.py b/src/yunohost/firewall.py index 7cfb15091..65bf89fe5 100644 --- a/src/yunohost/firewall.py +++ b/src/yunohost/firewall.py @@ -201,10 +201,6 @@ def firewall_reload(skip_upnp=False): reloaded = False errors = False - # Do not continue if YunoHost is not configured - try: open('/etc/yunohost/installed') - except IOError: return True - # Check if SSH port is allowed ssh_port = _get_ssh_port() if ssh_port not in firewall_list()['opened_ports']: