This commit is contained in:
kload 2015-10-31 21:43:25 +01:00
parent 4e72595aaa
commit c3d379be5b
2 changed files with 0 additions and 7 deletions

View file

@ -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

View file

@ -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']: