diff --git a/src/freedombone-utils-network b/src/freedombone-utils-network index e67bc877..ce0fb3c6 100755 --- a/src/freedombone-utils-network +++ b/src/freedombone-utils-network @@ -92,7 +92,6 @@ function update_external_ip { echo "curr_ip=\$(nslookup . $EXTERNAL_IP_LOOKUP_URL | grep Address | tail -n 1 | awk -F ' ' '{print \$2}')" >> $ip_update_script echo 'if [[ "$curr_ip" != "$existing_ip" ]]; then' >> $ip_update_script echo " sed -i \"s|EXTERNAL_IPV4_ADDRESS=.*|EXTERNAL_IPV4_ADDRESS=\${curr_ip}|g\" $CONFIGURATION_FILE" >> $ip_update_script - echo ' iptables-save > /etc/firewall.conf' >> $ip_update_script echo " echo \"\$(date)\" >> ~/${PROJECT_NAME}-external-ip-changes.txt" >> $ip_update_script echo 'fi' >> $ip_update_script