Skip to content
Snippets Groups Projects
Commit ca4d8ecc authored by Bjoern Franke's avatar Bjoern Franke
Browse files

fastdreg: fix regdone-check

parent 7d68215f
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ pubkey=$(/etc/init.d/fastd show_key mesh_vpn)
regdone=$(uci get fastdreg.ffol.regdone)
if [ $regdone ]; then
if [ "$regdone" -ne "1" ]; then
reg=$(wget -T15 "$keysrv/reg.php?name=$hostname&key=$pubkey" -O -)
if [ "$reg" == "regdone" ]; then
uci set fastdreg.ffol.regdone=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment