aboutsummaryrefslogtreecommitdiff
path: root/tools/boca-auth-runs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/boca-auth-runs')
-rwxr-xr-xtools/boca-auth-runs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/boca-auth-runs b/tools/boca-auth-runs
index 821202f..0e1a866 100755
--- a/tools/boca-auth-runs
+++ b/tools/boca-auth-runs
@@ -10,9 +10,13 @@ if [ "$BOCASERVER" == "" ]; then
fi
user="$1"
if [ "$user" == "" ]; then
- echo "parameter user missing"
+ echo "parameter user missing. Usage: $0 <user> [<optional-server-address>]"
exit 1
fi
+if [ "$2" != "" ]; then
+ BOCASERVER=$2
+fi
+echo "Server at $BOCASERVER"
read -s -p "Password: " pass
for i in wget sha256sum cut; do