Here's a new version, because FreeBSD's new interface changed slightly.
-- Thomas Munrohttp://www.enterprisedb.com