summaryrefslogtreecommitdiffstats
path: root/tools/sysrepo_config
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2019-03-06 11:34:41 +0100
committerTomek Mrugalski <tomek@isc.org>2019-03-06 15:15:29 +0100
commitd6d0e6d48366abc2f69af3c6a15bc5534eaa9b88 (patch)
treea31b0b1e42cb93e5b1caa7213f2d9ebb389a04eb /tools/sysrepo_config
parentRemaining warnings in kea-admin and keactrl addressed. (diff)
downloadkea-d6d0e6d48366abc2f69af3c6a15bc5534eaa9b88.tar.xz
kea-d6d0e6d48366abc2f69af3c6a15bc5534eaa9b88.zip
Copyright headers added. Addressed 3 remaining shellcheck issues.
Diffstat (limited to 'tools/sysrepo_config')
-rwxr-xr-xtools/sysrepo_config16
1 files changed, 15 insertions, 1 deletions
diff --git a/tools/sysrepo_config b/tools/sysrepo_config
index 1ec2106d98..73e5f0a2e6 100755
--- a/tools/sysrepo_config
+++ b/tools/sysrepo_config
@@ -1,5 +1,15 @@
#!/bin/bash
+# Copyright (C) 2018-2019 Internet Systems Consortium, Inc. ("ISC")
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# This is keactrl script responsible for starting up Kea processes.
+# This script is used to run Kea from installation directory,
+# as well as for running tests.
+
sysrepo_lib="libsysrepo"
if [ -z "${YANG_LIBRARY_PATH}" ]
@@ -17,7 +27,11 @@ if ! [ -f "${DIR}/sysrepo_config_defines.sh" ] || ! [ -x "${DIR}/sysrepo_config_
echo "missing path configuration file for Sysrepo (sysrepo_config_defines.sh)"
exit 0
fi
-source ${DIR}/sysrepo_config_defines.sh
+
+# Shellcheck tries to follow this link and gets confused about not being able
+# to find the file.
+# shellcheck disable=SC1090
+source "${DIR}/sysrepo_config_defines.sh"
if [ $# -ne 1 ] && [ $# -ne 2 ]
then