Skip to content
Permalink
Browse files

Update up.sh

IP addresses are not selected if "&ip=" is present
  • Loading branch information...
agnelvishal committed Dec 6, 2018
1 parent 73a6e45 commit 15f76367f4a4b04e3805fc18c2eb8329783032f4
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/up.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env sh
cd "`dirname $0`"
./apicall.sh "/Network.xml?page=1&ip=" | awk '/<address>/{ gsub("<address>","" );gsub("<\/address>","" ); print $0 }' | awk '{print $1}';
./apicall.sh "/Network.xml?page=1" | awk '/<address>/{ gsub("<address>","" );gsub("<\/address>","" ); print $0 }' | awk '{print $1}';

#port=$(grep ^port= "$YACY_DATA_PATH/SETTINGS/yacy.conf" |cut -d= -f2)
#./up1.sh localhost:$port

0 comments on commit 15f7636

Please sign in to comment.
You can’t perform that action at this time.