#!/bin/sh

# Perform major updates

if opnsense-update -B; then
	reboot -r
fi

if opnsense-update -P; then
	# XXX omit eventually?
	reboot
fi
