|
|
|
@ -65,8 +65,8 @@ PEERNAME="$RET"
|
|
|
|
|
db_get yacy/password
|
|
|
|
|
PASSWORD="$RET"
|
|
|
|
|
if [ "$PASSWORD" != "" ]; then
|
|
|
|
|
BASE64=$(java -cp /usr/share/java/yacy/yacycore.jar net.yacy.kelondro.order.Base64Order -es "admin:$PASSWORD")
|
|
|
|
|
B64MD5=$(java -cp /usr/share/java/yacy/yacycore.jar net.yacy.kelondro.order.Digest -strfhex "$BASE64")
|
|
|
|
|
BASE64=$(java -cp /usr/share/java/yacy/yacycore.jar net.yacy.cora.order.Base64Order -es "admin:$PASSWORD")
|
|
|
|
|
B64MD5=$(java -cp /usr/share/java/yacy/yacycore.jar net.yacy.cora.order.Digest -strfhex "$BASE64")
|
|
|
|
|
PASSWORD_HASH=$(echo $B64MD5 | sed "s/\(\S\) .*/\1/")
|
|
|
|
|
db_set yacy/password ""
|
|
|
|
|
else
|
|
|
|
|