Updates
Drop this as /etc/cron.weekly/auto_update.sh:
- auto_update.sh
#!/bin/bash echo "Update started on $(date)" >> /var/log/autoupdate.log emerge --sync >> /var/log/autoupdate.log emerge -uv --deep --with-bdeps=y @world >> /var/log/autoupdate.log date >> /var/log/autoupdate.log echo "Update terminated on $(date)" >> /var/log/autoupdate.log
and make it executable:
chmod +x /etc/cron.weekly/auto_update.sh
Periodically you will want to run also:
emerge -cp
and check your news:
eselect news list
eselect news read XXX