diff --git a/Linux/speedtest.sh b/Linux/speedtest.sh index 52da8f9..5da7a35 100644 --- a/Linux/speedtest.sh +++ b/Linux/speedtest.sh @@ -105,7 +105,7 @@ if [ "$log" -eq 1 ]; then echo "Log Variable is set to 1. Writing to log." # Append the result to the log file - echo "$(date +"%Y-%m-%d %H:%M:%S"),iperf3,$ORG,$IP,$DOWNLOAD_Mbps Mbps,$UPLOAD_Mbps Mbps" >> "$LOG_FILE" + echo "$(date +"%Y-%m-%d %H:%M:%S"),$WAN,iperf3,$ORG,$IP,$DOWNLOAD_Mbps Mbps,$UPLOAD_Mbps Mbps" >> "$LOG_FILE" # Check if the variable is set to 0 elif [ "$log" -eq 0 ]; then @@ -222,7 +222,7 @@ if [ "$log" -eq 1 ]; then echo "Variable is set to 1. Running command A." # Append the result to the log file - echo "$(date +"%Y-%m-%d %H:%M:%S"),Speedtest.net,$ORG,$IP,$DOWNLOAD_Mbps Mbps,$UPLOAD_Mbps Mbps" >> "$LOG_FILE" + echo "$(date +"%Y-%m-%d %H:%M:%S"),,Speedtest.net,$ORG,$IP,$DOWNLOAD_Mbps Mbps,$UPLOAD_Mbps Mbps" >> "$LOG_FILE" # Check if the variable is set to 0 elif [ "$log" -eq 0 ]; then