User Tools

This is an old revision of the document!


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

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information