#!/bin/sh

# Perform major updates

for STAGE in B P; do
       if opnsense-update -${STAGE}; then
               reboot
       fi
done
