Skip to content

Instantly share code, notes, and snippets.

View toomanysecrets's full-sized avatar

Manuel Trujillo toomanysecrets

View GitHub Profile
@thefloweringash
thefloweringash / fix-freebsd-update.sh
Created January 31, 2014 10:09
There I "fixed" freebsd-update.
#!/bin/sh
# freebsd-update makes assumptions that don't match the world I live
# in. My local mirror has a 20ms rtt, can probably saturate my 130mbps
# line speed and takes about 2 minutes to fetch all of FreeBSD 10's
# dists; freebsd-update's mirrors are at least 140ms away, and take
# about 4 hours to fetch the changes from 9.1-RELEASE-p10 to
# 10.0-RELEASE.
#
# freebsd-update is a clever script that downloads a lot of bsdiff