File: seaudit-report-service.in

package info (click to toggle)
setools 3.3.7-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,840 kB
  • sloc: ansic: 82,247; tcl: 13,145; cpp: 4,885; makefile: 1,603; yacc: 779; lex: 296; python: 57; sh: 50
file content (24 lines) | stat: -rw-r--r-- 498 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
# shell script to run seaudit-report on STDIN
#

SEAUDITREPORT=@bindir@/seaudit-report
OPTS="--stdin --malformed"

echo "Date Range: $LOGWATCH_DATE_RANGE"
echo "Detail Level: $LOGWATCH_DETAIL_LEVEL"
echo "Temp Dir: $LOGWATCH_TEMP_DIR"
echo "Debug Level: $LOGWATCH_DEBUG"

# execute the program with the specified options
${SEAUDITREPORT} ${OPTS} 

# program failed
if [ $? -ne 0 ]; then
	RC=$?
	echo >&2 "Failed while executing seaudit-report.\n"
	exit $RC
fi

# All done, exit ok
exit 0