diff options
| author | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2010-02-22 20:14:16 +0000 |
|---|---|---|
| committer | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2010-02-22 20:14:16 +0000 |
| commit | b68deb407a85b9544dcfc10fb874edcfdb8b97d9 (patch) | |
| tree | 08ac85354d1a059012ce04101fa2855f5fa4f94f /updateYACY.sh | |
| parent | cd7f0bf75f72d1ba667f9d01910d945ff7e6ab2c (diff) | |
- moved test data from /bin to /test/words
- refactoring of stopYACY.sh by introduction of /bin/apicall which is able to call any api file with attached authorization
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6691 6c8d7289-2bf4-0310-a012-ef5d649a1542
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 |
