mirror of
https://github.com/yacy/yacy_search_server.git
synced 2026-10-25 05:54:15 +00:00
- added more selection criteria for network seed list
- enhanced up script
This commit is contained in:
1 parent
252bb51f98
commit
3d9ce9cd04
3 files changed
+12
-12
No files matched your search
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
cd "`dirname $0`"
|
||||
port=$(grep ^port= ../DATA/SETTINGS/yacy.conf |cut -d= -f2)
|
||||
./up1.sh localhost:$port
|
||||
./apicall.sh "/Network.xml?page=1&ip=" | awk '/<address>/{ gsub("<address>","" );gsub("<\/address>","" ); print $0 }' | awk '{print $1}';
|
||||
|
||||
#port=$(grep ^port= ../DATA/SETTINGS/yacy.conf |cut -d= -f2)
|
||||
#./up1.sh localhost:$port
|
||||
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
cd "`dirname $0`"
|
||||
if which curl &>/dev/null; then
|
||||
curl -s "http://$1/Network.xml?page=1&ip=" | awk '/<address>/{ gsub("<address>","" );gsub("<\/address>","" ); print $0 }' | awk '{print $1}';
|
||||
elif which wget &>/dev/null; then
|
||||
wget -q -O - "http://$1/Network.xml?page=1&ip=" | awk '/<address>/{ gsub("<address>","" );gsub("<\/address>","" ); print $0 }' | awk '{print $1}';
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user