diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index 6008e392..ebe15121 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -1306,11 +1306,6 @@ Enter a static local IP address for this system.\n\nIt will typically be 192.168 if [[ "$NEW_STATIC_IP" != *"."* ]]; then return fi - if grep -q 'iface eth0 inet static' /etc/network/interfaces; then - if [[ "$NEW_STATIC_IP" != "$STATIC_IP" ]]; then - sed -i "s|${STATIC_IP}|${NEW_STATIC_IP}|g" /etc/network/interfaces - fi - fi ;; esac @@ -1326,12 +1321,6 @@ Enter a static local IP address for this system.\n\nIt will typically be 192.168 if [[ "$NEW_STATIC_GATEWAY" != *"."* ]]; then return fi - if grep -q 'iface eth0 inet static' /etc/network/interfaces; then - if [[ "$NEW_STATIC_GATEWAY" != "$STATIC_GATEWAY" ]]; then - sed -i "s|${STATIC_GATEWAY}|${NEW_STATIC_GATEWAY}|g" /etc/network/interfaces - fi - return - fi ;; esac