Browse Source

fix(: remove need exposed ports, ports are only exposed on LAN

HugoPoi 4 years ago
parent
commit
98a999b5cc
3 changed files with 3 additions and 3 deletions
  1. 1 1
      scripts/install
  2. 1 1
      scripts/restore
  3. 1 1
      scripts/upgrade

+ 1 - 1
scripts/install

@@ -285,7 +285,7 @@ fi
 #=================================================
 ynh_script_progression --message="Integrating service in YunoHost..."
 
-yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd" --needs_exposed_ports 547 67
+yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd"
 
 #=================================================
 # START SYSTEMD SERVICE

+ 1 - 1
scripts/restore

@@ -129,7 +129,7 @@ systemctl enable $service_name.service --quiet
 #=================================================
 ynh_script_progression --message="Integrating service in YunoHost..."
 
-yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd" --needs_exposed_ports 547 67
+yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd"
 
 #=================================================
 # START SYSTEMD SERVICE

+ 1 - 1
scripts/upgrade

@@ -189,7 +189,7 @@ find ${final_path}/ -type d -exec chmod +x {} \;
 #=================================================
 ynh_script_progression --message="Integrating service in YunoHost..."
 
-yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd" --needs_exposed_ports 547 67
+yunohost service add $service_name --description "Creates a Wi-Fi access point" --test_status "systemctl is-active hostapd"
 
 #=================================================
 # START SYSTEMD SERVICE