From 26e0e932865ccbc1e9ecb28aa2493b756c1172b2 Mon Sep 17 00:00:00 2001 From: n Date: Wed, 28 Jan 2015 23:04:04 +0100 Subject: [PATCH] secupdate: apply FreeBSD binary patches and recompile custom kernel for the lazy. --- secupdate | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 secupdate diff --git a/secupdate b/secupdate new file mode 100755 index 0000000..c2212de --- /dev/null +++ b/secupdate @@ -0,0 +1,12 @@ +#!/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."