Helper scripts for not-so-common but still regularly occuring tasks on FreeBSD.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
785 B

set -e # xplode on failures
echo "This fetches and installs security updates within the current FreeBSD"
echo "version for the host and any jails defined in as well as"
echo "updating the crypto bootstick (if any)"
echo "This script takes no parameters."
helpers.checkhelp $1
echo "Loading config."
echo "Updating host OS…"
set -x
freebsd-update fetch
freebsd-update install
set +x
if $config_bootstick
echo "Updating bootstick…"
echo "----------"
echo "If nothing exploded, reboot and run"
echo "If something exploded, you'll have to manually figure it out."
echo ""
echo "Thank you for flying with phryk evil mad sciences, LLC!"