Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 254100 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/app-forensics/rkhunter/files/rkhunter.cron (-5 / +5 lines)
Lines 1-5 Link Here
1
#!/bin/bash
1
#!/bin/bash
2
# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/files/rkhunter.cron,v 1.3 2005/09/02 09:58:35 ka0ttic Exp $
2
# $Header: $
3
# original author: Aaron Walker <ka0ttic@gentoo.org>
3
# original author: Aaron Walker <ka0ttic@gentoo.org>
4
4
5
########################## Begin Configuration ###############################
5
########################## Begin Configuration ###############################
Lines 60-66 fi Link Here
60
60
61
# moved this out of config section since it'll
61
# moved this out of config section since it'll
62
# probably never need to be changed
62
# probably never need to be changed
63
RKHUNTER_EXEC="/usr/bin/rkhunter"
63
RKHUNTER_EXEC="/usr/sbin/rkhunter"
64
64
65
# sanity check
65
# sanity check
66
if [[ ! -x "${RKHUNTER_EXEC}" ]] ; then
66
if [[ ! -x "${RKHUNTER_EXEC}" ]] ; then
Lines 91-99 case "${VERBOSITY}" in Link Here
91
	# warnings and errors only
91
	# warnings and errors only
92
	1)	RKHUNTER_OPTS="${RKHUNTER_OPTS} --quiet" ;;
92
	1)	RKHUNTER_OPTS="${RKHUNTER_OPTS} --quiet" ;;
93
	# default rkhunter output (no extra options)
93
	# default rkhunter output (no extra options)
94
	2)	;;
94
#	2)	;;
95
	# default to option 3 (report-mode)
95
	# default to option 3
96
	*)	RKHUNTER_OPTS="${RKHUNTER_OPTS} --report-mode"	;;
96
	*)	;;
97
esac
97
esac
98
98
99
# save old log
99
# save old log

Return to bug 254100