14 lines
No EOL
229 B
Bash
Executable file
14 lines
No EOL
229 B
Bash
Executable file
#!/bin/sh
|
|
while :
|
|
do
|
|
echo ""
|
|
echo "####################"
|
|
date
|
|
echo "IPv4:"
|
|
curl -sL4 ip.hetzner.com
|
|
echo "IPv6:"
|
|
curl -sL6 ip.hetzner.com
|
|
echo "####################"
|
|
echo ""
|
|
sleep 300
|
|
done |