Skip to content

Commit

Permalink
version 0.5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ineiti committed Dec 9, 2015
1 parent 0da51f4 commit 8e9ec02
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions app/conode/start-conode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ main(){
setup)
if [ -f key.pub ]; then
echo -e "\n*** Key.pub already exists - if you want to re-create, please delete it first\n"
exit
else
./conode keygen $2
echo Sending public-key to linus.gasser@epfl.ch
cat key.pub | mail linus.gasser@epfl.ch
if ./conode keygen $2; then
echo Sending public-key to linus.gasser@epfl.ch
cat key.pub | mail linus.gasser@epfl.ch
else
echo Couldnt create key-pair
exit
fi
fi
echo If you want to be added, make sure the following is known by the dedis-group
cat key.pub
Expand All @@ -34,7 +39,8 @@ main(){
fi
echo Running conode
./conode run
echo Updating
echo Sleeping a bit, then updating
sleep 10
exec ./update.sh
;;
update|"")
Expand Down

0 comments on commit 8e9ec02

Please sign in to comment.