X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Finit%2Fossec-hids-gentoo.init;fp=src%2Finit%2Fossec-hids-gentoo.init;h=a5796037905914df54c1f8eace0c409684859016;hp=c2d06f69dd37d93e74abf4ceb3204cd45bb4cb48;hb=301048b51990573e58a30dc4a5bb4ec285cad554;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a diff --git a/src/init/ossec-hids-gentoo.init b/src/init/ossec-hids-gentoo.init index c2d06f6..a579603 100755 --- a/src/init/ossec-hids-gentoo.init +++ b/src/init/ossec-hids-gentoo.init @@ -26,7 +26,7 @@ configtest() { checkconfig() { - CONFIGFILE="${CONFIGFILE:-/var/ossec/etc/ossec.conf}" + CONFIGFILE="${CONFIGFILE:-${DIRECTORY}/etc/ossec.conf}" if [ ! -r "${CONFIGFILE}" ]; then eerror "Unable to read configuration file: ${CONFIGFILE}" return 1