diff --git a/conf/ynh-hotspot b/conf/ynh-hotspot index 3f68bef..d2ba1f3 100644 --- a/conf/ynh-hotspot +++ b/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 diff --git a/scripts/install b/scripts/install index ddf4403..d516f72 100644 --- a/scripts/install +++ b/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