From: Tomek Mrugalski Date: Mon, 4 Mar 2019 15:00:27 +0000 (+0100) Subject: Reverted removal of prefix variable. X-Git-Tag: 465-add-subnet4-update-and-subnet6-update-commands-to-subnet-cmds-hook_base2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cad1334bca3850c3474fcb7e6e98829fae9108c2;p=thirdparty%2Fkea.git Reverted removal of prefix variable. --- diff --git a/src/bin/keactrl/keactrl.in b/src/bin/keactrl/keactrl.in index 38f4863ad7..ce712aadce 100644 --- a/src/bin/keactrl/keactrl.in +++ b/src/bin/keactrl/keactrl.in @@ -56,7 +56,7 @@ is_in_list() { # Prints keactrl usage. usage() { - printf "usage is %s command [-c keactrl-config-file] [-s server[,server,..]]\n" $( basename "${0}" ) + printf "usage is %s command [-c keactrl-config-file] [-s server[,server,..]]\n" "$( basename -- "${0}" )" printf "commands: start stop reload status version\n" } @@ -319,6 +319,7 @@ run_conditional() { # altered and only the handful of initial messages will be logged # to the default file. if [ -z "${KEA_LOGGER_DESTINATION}" ]; then + prefix=@prefix@ export KEA_LOGGER_DESTINATION=@localstatedir@/@PACKAGE@/kea.log fi @@ -342,6 +343,7 @@ if [ ${_inlist} -eq 0 ]; then fi # Get the location of the keactrl configuration file. +prefix=@prefix@ keactrl_conf=@sysconfdir@/@PACKAGE@/keactrl.conf servers="all"