X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;ds=sidebyside;f=src%2Finit%2Fossec-hids-gentoo.init;fp=src%2Finit%2Fossec-hids-gentoo.init;h=a5796037905914df54c1f8eace0c409684859016;hb=a62b46c229549212d536867b7e5e24d7576ebe8b;hp=c2d06f69dd37d93e74abf4ceb3204cd45bb4cb48;hpb=d623b82886b9b5fbba3fa27c3bfac51f3f8af108;p=ossec-hids.git 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