# Make sure that exactly one process has been started.
getpids
if [ ${_GETPIDS2} -ne 1 ]; then
- printf "ERROR: expected one Kea process to be started. Found %d " \
- "processes started.\n" ${_GETPIDS2}
+ printf "ERROR: expected one Kea process to be started. Found %d processes started.\n" ${_GETPIDS2}
cleanexit 1
fi
printf "%b" ${CONFIG_INVALID} > ${CFG_FILE}
# Reconfigure the server with SIGHUP.
-printf "Sending SIGHUP to Kea process (pid=%s) to reconfigure the server.\n" \
- ${_GETPIDS1}
+printf "Sending SIGHUP to Kea process (pid=%s) to reconfigure the server.\n" ${_GETPIDS1}
kill -1 ${_GETPIDS1}
# Be patient. Kea may need a while to reconfigure or shut down
printf "%b" ${CONFIG} > ${CFG_FILE}
# Reconfigure the server with SIGHUP.
-printf "Sending SIGHUP to Kea process (pid=%s) to reconfigure the server.\n" \
- ${_GETPIDS1}
+printf "Sending SIGHUP to Kea process (pid=%s) to reconfigure the server.\n" ${_GETPIDS1}
kill -1 ${_GETPIDS1}
# After receiving SIGHUP the server should get reconfigured and the