projects
/
ossec-hids.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git]
/
src
/
init
/
functions.sh
1
#!/bin/sh
2
# Shell script functions for the OSSEC HIDS
3
# Author: Daniel B. Cid <daniel.cid@gmail.com>
4
5
TRUE="true";
6
FALSE="false";
7
8
9
isFile()
10
{
11
FILE=$1
12
ls ${FILE} >/dev/null 2>&1
13
if [ $? = 0 ]; then
14
echo "${TRUE}"
15
return 0;
16
fi
17
echo "${FALSE}"
18
return 1;
19
}
20