mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Revert 95cbff27a9
This commit is contained in:
parent
4e72595aaa
commit
c3d379be5b
2 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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']:
|
||||
|
|
Loading…
Add table
Reference in a new issue