Skip to content

Commit f30628b

Browse files
author
Till Brehm
committed
Fixed: FS#3359 - rkhunter running twice on Debian
1 parent d92cc2f commit f30628b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

install/lib/installer_base.lib.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2104,6 +2104,13 @@ public function install_ispconfig() {
21042104

21052105
//* Remove Domain module as its functions are available in the client module now
21062106
if(@is_dir('/usr/local/ispconfig/interface/web/domain')) exec('rm -rf /usr/local/ispconfig/interface/web/domain');
2107+
2108+
//* Disable rkhunter run and update in debian cronjob as ispconfig is running and updating rkhunter
2109+
if(is_file('/etc/default/rkhunter')) {
2110+
replaceLine('/etc/default/rkhunter', 'CRON_DAILY_RUN="yes"', 'CRON_DAILY_RUN="no"', 1, 0);
2111+
replaceLine('/etc/default/rkhunter', 'CRON_DB_UPDATE="yes"', 'CRON_DB_UPDATE="no"', 1, 0);
2112+
}
2113+
21072114

21082115

21092116
}

0 commit comments

Comments
 (0)