#!/bin/sh # # secupdate: apply FreeBSD binary patches # and recompile custom kernel for the lazy. freebsd-update fetch && \ freebsd-update install && \ cd /usr/src && \ make buildkernel KERNCONF=TK && \ make installkernel KERNCONF=TK && \ echo && \ echo "update done. please reboot."