secupdate: apply FreeBSD binary patches and recompile custom kernel for the lazy.

This commit is contained in:
n 2015-01-28 23:04:04 +01:00
parent 414730db3c
commit 26e0e93286

12
secupdate Executable file
View file

@ -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."