Merge branch 'stretch' of https://github.com/bashrc/freedombone
This commit is contained in:
commit
87f354e669
|
@ -139,9 +139,11 @@ function install_tripwire {
|
|||
|
||||
' | reset-tripwire
|
||||
|
||||
if ! grep -q "tripwire" /etc/crontab; then
|
||||
TRIPWIRE_MIN=$((1 + RANDOM % 49))
|
||||
TRIPWIRE_HOUR=$((1 + RANDOM % 6))
|
||||
echo "${TRIPWIRE_MIN} ${TRIPWIRE_HOUR} * * * root /usr/sbin/tripwire -m c" /etc/crontab
|
||||
echo "${TRIPWIRE_MIN} ${TRIPWIRE_HOUR} * * * root /usr/sbin/tripwire -m c" >> /etc/crontab
|
||||
fi
|
||||
|
||||
mark_completed $FUNCNAME
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue