From 6cd292e51a8d233e16859f23f1851644b4a9a722 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 25 Sep 2017 17:57:58 +0100 Subject: [PATCH] Tidying --- src/freedombone-utils-network | 1 - 1 file changed, 1 deletion(-) 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