scripts/secupdate

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