From 7f89d7cb82f908c9cc1daf63aa2bbd32f5394c22 Mon Sep 17 00:00:00 2001 From: ChiefGyk Date: Mon, 27 Jun 2016 04:32:06 -0400 Subject: [PATCH] added line for rkhunter to first update when installed. --- setup/system.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/system.sh b/setup/system.sh index 9b9b3530..245ce754 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -132,6 +132,7 @@ cd .. rm -rf rkhunter* cp conf/rkhunter/rkhunter.conf /etc/rkhunter.conf.local sed -i '/APT_AUTOGEN="false"/c\APT_AUTOGEN="yes"' /etc/default/rkhunter +rkhunter --update rkhunter --propupd (crontab -l 2>/dev/null; echo "15 04 * * * /usr/bin/rkhunter --cronjob --update --quiet ")| crontab -