Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISPConfig
ISPConfig 3
Commits
03a40c77
Commit
03a40c77
authored
Apr 30, 2018
by
Till Brehm
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#5008
Remove rkhunter update function
parent
bdb95fd0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
server/lib/classes/cron.d/100-monitor_rkhunter.inc.php
server/lib/classes/cron.d/100-monitor_rkhunter.inc.php
+7
-1
No files found.
server/lib/classes/cron.d/100-monitor_rkhunter.inc.php
View file @
03a40c77
...
...
@@ -72,7 +72,13 @@ class cronjob_monitor_rkhunter extends cronjob {
/*
* Fetch the output
*/
// Do not try to update rkhunter on Debian and Ubuntu, rkhunter is keept up to date with apt.
if
(
file_exists
(
'/etc/debian_version'
))
{
$data
[
'output'
]
=
shell_exec
(
'rkhunter --checkall --nocolors --skip-keypress'
);
}
else
{
$data
[
'output'
]
=
shell_exec
(
'rkhunter --update --checkall --nocolors --skip-keypress'
);
}
/*
* At this moment, there is no state (maybe later)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment