added a script which retrieves the public ip of the local peer and

prints it out to the terminal using the new servlet /yacy/seedlist.xml.
just call:
bin/myip.sh
pull/1/head
Michael Peter Christen 11 years ago
parent 7527ae63e7
commit d1604258c1

@ -0,0 +1,3 @@
#!/usr/bin/env bash
cd "`dirname $0`"
./apicall.sh "/yacy/seedlist.xml?my=" | awk '/<IP>/{ gsub("<IP>","" );gsub("<\/IP>","" ); print $0 }' | awk '{print $1}';
Loading…
Cancel
Save