Regular Updating Script for Security Onion
This script will update your SecurityOnion install monthly and reboot.
sudo nano /usr/local/bin/security_onion_maintenance.sh
Paste the contents of security_onion_maintenance.sh
and press Ctrl+X
to save and exit.
sudo chmod +x /usr/local/bin/security_onion_maintenance.sh
sudo ln -s /usr/local/bin/security_onion_maintenance /etc/cron.monthly/security_onion_maintenance.sh