diff options
Diffstat (limited to 'updateYACY.sh')
| -rwxr-xr-x | updateYACY.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/updateYACY.sh b/updateYACY.sh index 3d0015948..f81935b0d 100755 --- a/updateYACY.sh +++ b/updateYACY.sh @@ -3,9 +3,7 @@ cd `dirname $0` if [ -x `which wget` ] then - port=`cat DATA/SETTINGS/yacy.conf |grep "^port="|sed "s/.*=//"` - pw=`cat DATA/SETTINGS/yacy.conf |grep "^adminAccountBase64MD5="|sed "s/.*=//"` - wget -q -t 1 --timeout=5 --header "Authorization: realm=$pw" http://localhost:$port/ConfigUpdate_p.html?autoUpdate= -O /dev/null + bin/apicall.sh "ConfigUpdate_p.html?autoUpdate=" elif [ -x `which java` ] then |
