Skip to content

Commit

Permalink
Fixes path for start-client.sh/start-server.sh scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-vincent committed Aug 8, 2017
1 parent b385078 commit ec27ed3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion scripts/start-client.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/bin/bash

SCRIPTPATH=$( cd $(dirname $0) ; pwd -P )
MODE=debug
USERNAME=${1:-client}

shift

./install/bin/freelan -f -d --client.enabled=yes --client.disable_peer_verification=yes --client.disable_host_verification=yes --fscp.listen_on=0.0.0.0:12001 --client.username=${USERNAME} --client.password="ok" --client.public_endpoint=0.0.0.0 --client.public_endpoint=:: --client.public_endpoint=localhost:12001 $@
${SCRIPTPATH}/../build/${MODE}/bin/freelan -f -d --client.enabled=yes --client.disable_peer_verification=yes --client.disable_host_verification=yes --fscp.listen_on=0.0.0.0:12001 --client.username=${USERNAME} --client.password="ok" --client.public_endpoint=0.0.0.0 --client.public_endpoint=:: --client.public_endpoint=localhost:12001 $@
5 changes: 4 additions & 1 deletion scripts/start-server.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/bash

./install/bin/freelan -f -d --server.enabled=yes --server.authentication_script=scripts/authenticate.sh $@
SCRIPTPATH=$( cd $(dirname $0) ; pwd -P )
MODE=debug

${SCRIPTPATH}/../build/${MODE}/bin/freelan -f -d --server.enabled=yes --server.authentication_script=${SCRIPTPATH}/scripts/authenticate.sh $@

0 comments on commit ec27ed3

Please sign in to comment.