fix ip thing

This commit is contained in:
koksnuss
2018-05-14 00:33:06 +02:00
parent 3286537e14
commit c7d9be3434
2 changed files with 4 additions and 4 deletions

4
ip
View File

@ -1,5 +1,5 @@
#!/bin/bash
ip=$(curl ifconfig.me/ip)
ip=$(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')
echo $ip
echo ""
echo "#04B431"
echo ""