Till Brehm
2014-04-05 f30628b14112d0213bf40cd4dd7e5ab77c39d4f6
Fixed: FS#3359 - rkhunter running twice on Debian
1 files modified
7 ■■■■■ changed files
install/lib/installer_base.lib.php 7 ●●●●● patch | view | raw | blame | history
install/lib/installer_base.lib.php
@@ -2104,6 +2104,13 @@
        //* Remove Domain module as its functions are available in the client module now
        if(@is_dir('/usr/local/ispconfig/interface/web/domain')) exec('rm -rf /usr/local/ispconfig/interface/web/domain');
        //* Disable rkhunter run and update in debian cronjob as ispconfig is running and updating rkhunter
        if(is_file('/etc/default/rkhunter')) {
            replaceLine('/etc/default/rkhunter', 'CRON_DAILY_RUN="yes"', 'CRON_DAILY_RUN="no"', 1, 0);
            replaceLine('/etc/default/rkhunter', 'CRON_DB_UPDATE="yes"', 'CRON_DB_UPDATE="no"', 1, 0);
        }
    }