mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
don't guess ipv6 prefix from vpnclient app
This commit is contained in:
parent
2d8b586794
commit
2f0dfecca5
1 changed files with 0 additions and 12 deletions
|
@ -117,18 +117,6 @@ ynh_system_user_create --username=$app
|
|||
#=================================================
|
||||
ynh_script_progression --message="Configuring hotspot..."
|
||||
|
||||
if [[ ! -v ip6_net ]]; then # if ip6_net not set
|
||||
ip6_net=""
|
||||
|
||||
if [[ -e /tmp/.ynh-vpnclient-started ]]; then
|
||||
vpnclient_ip6_net=$(ynh_app_setting_get vpnclient ip6_net 2>&1)
|
||||
|
||||
if [[ $vpnclient_ip6_net =~ :: ]]; then
|
||||
ip6_net=${vpnclient_ip6_net}
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
hot_reload_usb_wifi_cards
|
||||
wifi_device=$(iw_devices | awk -F\| '{ print $1 }')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue