Browse Source

Unused vpnclient setting ...

Alexandre Aubin 3 years ago
parent
commit
97a1c737ea
2 changed files with 0 additions and 7 deletions
  1. 0 6
      conf/ynh-hotspot
  2. 0 1
      scripts/install

+ 0 - 6
conf/ynh-hotspot

@@ -364,12 +364,6 @@ case "$1" in
       echo "[hotspot] Starting..."
       touch /tmp/.ynh-hotspot-started
 
-      if [ "${new_internet_device}" == tun0 ]; then
-        ynh_setting_set hotspot vpnclient yes
-      else
-        ynh_setting_set hotspot vpnclient no
-      fi
-
       # Check old state of the ipv4 NAT settings
       if [ ! -z "${old_internet_device}" -a "${new_internet_device}" != "${old_internet_device}" ]\
          && is_nat_set "${old_internet_device}"; then

+ 0 - 1
scripts/install

@@ -143,7 +143,6 @@ ynh_app_setting_set --app=$app --key=ip6_firewall --value=1
 ynh_app_setting_set --app=$app --key=ip6_net --value="${ip6_net}"
 ynh_app_setting_set --app=$app --key=dns --value="2001:913::8,2001:910:800::12,80.67.188.188,80.67.169.12"
 ynh_app_setting_set --app=$app --key=ip4_nat_prefix --value=10.0.242
-ynh_app_setting_set --app=$app --key=vpnclient --value=no
 
 if [[ -z $wifi_device ]]; then
 	ynh_app_setting_set --app=$app --key=service_enabled --value=0