Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # ==============================================
- # Gentoo system update
- # Sergio <hujuice@inservibile.org>
- # ==============================================
- FILELOG=/tmp/emerge.log
- UNATTENDED_OPTS="--ask n"
- exec &>$FILELOG
- date
- echo "========================================"
- echo
- echo "Portage update"
- /usr/bin/emerge $UNATTENDED_OPTS --sync
- /usr/bin/eix-update
- echo
- echo "Start..."
- /usr/bin/emerge $UNATTENDED_OPTS -uND world
- echo "...done."
- echo
- echo "Cleaning oldies..."
- /usr/bin/eclean-dist
- /usr/bin/eclean-pkg
- echo "...done"
- echo
- echo "Portage health"
- /usr/bin/eix-test-obsolete
- echo
- echo "Gentoo Linux Security Advisories check"
- /usr/bin/glsa-check -l
- echo
- echo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement