rc: run through more static updates before applying updates

This commit is contained in:
Franco Fichtner 2016-10-14 16:59:39 +02:00
parent 7b7d7ab7ea
commit 96b8cbe2a5

View File

@ -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