projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
izmjene za lintian
[ossec-hids.git]
/
src
/
init
/
ossec-hids-gentoo.init
diff --git
a/src/init/ossec-hids-gentoo.init
b/src/init/ossec-hids-gentoo.init
index
c2d06f6
..
a579603
100755
(executable)
--- a/
src/init/ossec-hids-gentoo.init
+++ b/
src/init/ossec-hids-gentoo.init
@@
-26,7
+26,7
@@
configtest() {
checkconfig() {
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
if [ ! -r "${CONFIGFILE}" ]; then
eerror "Unable to read configuration file: ${CONFIGFILE}"
return 1