scripts/secupdate

13 lines
285 B
Bash
Executable File

#!/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."