Daniel Cid wrote:

Hi Gentuxx,

Thanks for the script. I just made a small change to it so that instead
of hardcoding /var/ossec as the directory, it would read it from
/etc/ossec-init.conf. What I added is:

"
# Finding where ossec is installed
. /etc/ossec-init.conf
if [ "X${DIRECTORY}" = "X" ]; then
   DIRECTORY="/var/ossec"
fi

OSSEC_CONTROL="${DIRECTORY}/bin/ossec-control"
"

In addition to that, is there a way to identify a system as Gentoo? (for
example, Red hat has the file "/etc/redhat-release"). We need that so
we can configure the scripts during install...

Thanks,

--
Daniel B. Cid
dcid ( at ) ossec.net
It is /etc/gentoo-release file.

--
Feel free to correct my english.
----------------------
  Gentoo Linux
  gg: 1013934
 mail:[EMAIL PROTECTED]
----------------------

Reply via email to