diff --git a/src/freedombone-utils-network b/src/freedombone-utils-network index 559d7623..2ca83867 100755 --- a/src/freedombone-utils-network +++ b/src/freedombone-utils-network @@ -87,7 +87,7 @@ function install_static_network { } function get_external_ipv4_address { - curl ipinfo.io/ip + curl -s ipinfo.io/ip } function get_ipv4_address { @@ -104,7 +104,7 @@ function update_external_ip { ip_update_script=/usr/bin/externalipupdate { echo '#!/bin/bash'; echo "existing_ip=\$(cat $CONFIGURATION_FILE | grep \"EXTERNAL_IPV4_ADDRESS=\" | head -n 1 | awk -F '=' '{print \$2}')'"; - echo "curr_ip=\$(curl ipinfo.io/ip)"; + echo "curr_ip=\$(curl -s ipinfo.io/ip)"; echo "if [[ \"\$curr_ip\" != \"\$existing_ip\" ]]; then"; echo " sed -i \"s|EXTERNAL_IPV4_ADDRESS=.*|EXTERNAL_IPV4_ADDRESS=\${curr_ip}|g\" $CONFIGURATION_FILE"; echo " echo \"\$(date)\" >> ~/${PROJECT_NAME}-external-ip-changes.txt";