diff --git a/src/etc/rc b/src/etc/rc index 05309a666..7b707b1e5 100755 --- a/src/etc/rc +++ b/src/etc/rc @@ -227,14 +227,6 @@ fi echo "done." -# Perform major updates -for STAGE in B P; do - if opnsense-update -${STAGE}; then - # ideally reroot with `-r', but panics on ZFS - reboot - fi -done - # Regenerate groups and users for packages /usr/local/etc/rc.recover pkg > /dev/null @@ -244,6 +236,14 @@ done # Set up the correct php.ini content /usr/local/etc/rc.php_ini_setup +# Perform major updates +for STAGE in B P; do + if opnsense-update -${STAGE}; then + # ideally reroot with `-r', but panics on ZFS + reboot + fi +done + # Startup configd /usr/local/etc/rc.d/configd start