mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-05-04 20:39:33 -04:00
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
This commit is contained in:
parent
7527ae63e7
commit
d1604258c1
3
bin/myip.sh
Executable file
3
bin/myip.sh
Executable file
@ -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…
x
Reference in New Issue
Block a user