Skip to content
Snippets Groups Projects
Commit 6a668dd9 authored by bta's avatar bta
Browse files

get-config: allow a local override in /etc/sysconfig/labmanager.

parent 59e7d039
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,14 @@ RETRY_DELAY=5
NORMAL_CONFIG_NAME=normale
DEBUG=0
# Sysadmin can override local vars here:
CONFFILE=/etc/sysconfig/labmanager
# Load configuration override if present:
if [ -e CONFFILE ]; then
. ${CONFFILE}
fi
if [[ "-d" == "$2" ]]; then
DEBUG=1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment