|
@@ -35,6 +35,8 @@ log_info() {
|
|
|
printf "INFO/keactrl: ${1}\n"
|
|
|
}
|
|
|
|
|
|
+### Functions managing Kea processes ###
|
|
|
+
|
|
|
# Returns a list of existing PIDs and a number of PIDs for the process
|
|
|
# having a name specified as an argument to the function.
|
|
|
get_pids() {
|
|
@@ -99,6 +101,8 @@ as another instance is already running."
|
|
|
fi
|
|
|
}
|
|
|
|
|
|
+### Script starts here ###
|
|
|
+
|
|
|
command=
|
|
|
if [ $# -ne 1 ]; then
|
|
|
log_error "No command specified. Use: start, stop, commit."
|