Permalink
Browse files

Makes setup script easier to accept defaults

Internal variable DEFAULT_TASKDDATA now initializes on environment
TASKDDATA's value if it exists. User may go through prompts faster
this way.
  • Loading branch information...
bradyt committed Jul 1, 2018
1 parent 6c431da commit 3671371db43b8d93ccecb1a728537f50ba9f7e3b
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/setup_server.bash
@@ -103,7 +103,7 @@ makedir()
# Taskserver defaults.
DEFAULT_SETUP="$0"
DEFAULT_PKI=$(readlink -f $(dirname $DEFAULT_SETUP)/../pki)
DEFAULT_TASKDDATA=/var/taskd
DEFAULT_TASKDDATA="${TASKDDATA:-/var/taskd}"
DEFAULT_HOST=localhost
DEFAULT_PORT=53589

0 comments on commit 3671371

Please sign in to comment.