diff --git a/scripts/config b/scripts/config index 233efc3..ee054a1 100644 --- a/scripts/config +++ b/scripts/config @@ -34,6 +34,8 @@ set__open_port_53() { # regenerate config, needed to add or delete public IPs following the user's choice + ynh_print_info --message="Obtaining IP addresses for the AGH config file..." + # get the name of the network interface in IPv4 and IPv6 ipv4_interface="$(get_network_interface 4)" ipv6_interface="$(get_network_interface 6)" @@ -45,6 +47,8 @@ set__open_port_53() { # the 'sed' is used to get rid of the network prefix ('/64' for example) ipv6_addr=$(process_ips "$(ip -6 address show "$ipv6_interface" 2> /dev/null | grep inet | sed 's&/.*&&')") + ynh_print_info --message="Updating the AGH config file..." + # update the IP adresses in the AGH config file update_agh_ip_config @@ -74,7 +78,7 @@ set__dns_over_https() { # save the new setting ynh_app_setting_set "$app" --key=dns_over_https --value="$dns_over_https" } - + #================================================= # GENERIC FINALIZATION #=================================================