Keeping my FreeBSD box up-to-date

Every once in a while the ports software on the NAS needs to be "rebased" with the newest.

I have made a script that I can run in a screen. It will update the ports tree and compile the new software:

1portsnap fetch extract update
2pkgdb -F
3portsdb -Fu
4portupgrade -ac