Bob Mottram 8 anos atrás
pai
commit
afdc69b3da
1 arquivos alterados com 1 adições e 4 exclusões
  1. 1
    4
      src/freedombone-controlpanel

+ 1
- 4
src/freedombone-controlpanel Ver arquivo

@@ -1275,10 +1275,7 @@ function set_dynamic_IP {
1275 1275
     esac
1276 1276
 
1277 1277
     if [ $revert_to_dynamic ]; then
1278
-        remove_config_param "NETWORK_IS_STATIC"
1279
-        if [ -f /etc/network/interfaces_original ]; then
1280
-            cp /etc/network/interfaces_original /etc/network/interfaces
1281
-        fi
1278
+        wifi_original_network_settings
1282 1279
         clear
1283 1280
         echo ''
1284 1281
         echo $'Changing to a dynamic IP address.'