Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions agents/check_mk_agent.freebsd
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ set_up_current_shell() {

set_variable_defaults() {
: "${MK_LIBDIR:=/usr/local/lib/check_mk_agent}"
: "${MK_CONFDIR:=/etc/check_mk}"
: "${MK_VARDIR:=/var/lib/check_mk_agent}"
: "${MK_CONFDIR:=/usr/local/etc/check_mk}"
: "${MK_VARDIR:=/var/db/check_mk_agent}"
: "${MK_LOGDIR:=/var/log/check_mk_agent}"

# some 'booleans'
Expand All @@ -137,7 +137,7 @@ preamble_1() {

# Make sure locally installed binaries are found
# Only add binaries if they are not already in the path! If you append to path in a loop the process will
# eventually each the 128k size limit for the environment and become a zombie process. See execve manpage.
# eventually reach the 128k size limit for the environment and become a zombie process. See execve manpage.
[ "${PATH#*"/usr/local/bin"}" != "${PATH}" ] || PATH="${PATH}:/usr/local/bin"
[ "${PATH#*"/usr/local/sbin"}" != "${PATH}" ] || PATH="${PATH}:/usr/local/sbin"
[ -d "/var/qmail/bin" ] && { [ "${PATH#*"/var/qmail/bin"}" != "${PATH}" ] || PATH="${PATH}:/var/qmail/bin"; }
Expand Down