Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
Makes setup script easier to accept defaults
Browse files Browse the repository at this point in the history
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 3671371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setup_server.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3671371

Please sign in to comment.