diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index f98982b7..574039e5 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -1275,10 +1275,7 @@ function set_dynamic_IP { esac if [ $revert_to_dynamic ]; then - remove_config_param "NETWORK_IS_STATIC" - if [ -f /etc/network/interfaces_original ]; then - cp /etc/network/interfaces_original /etc/network/interfaces - fi + wifi_original_network_settings clear echo '' echo $'Changing to a dynamic IP address.'