Skip to content

Commit

Permalink
internet reverse reorder and keep unique (fixes #2137)
Browse files Browse the repository at this point in the history
  • Loading branch information
JLKwong committed Mar 26, 2021
1 parent c886039 commit 69044f1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions modules/internet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@ function internet {
postal=$(echo $info | grep -o '"postal": "[^;]*' | cut -d ' ' -f 1,2)
timezone=$(echo $info | grep -o '"timezone": "[^;]*' | cut -d ' ' -f 1,2)

# echo " INFO: $info"
# echo ""
# echo " IP: $ip"
# echo " ORG: $org"
# echo " COUNTRY: $country"
# echo " CITY: $city"
# echo " POSTAL: $postal"
# echo " TIMEZONE: $timezone"


echo "$ip"
echo "$org"
if [ -z "$postal" ]; then
Expand Down

0 comments on commit 69044f1

Please sign in to comment.