Commit 96b8cbe2 authored by Franco Fichtner's avatar Franco Fichtner

rc: run through more static updates before applying updates

parent 7b7d7ab7
...@@ -227,14 +227,6 @@ fi ...@@ -227,14 +227,6 @@ fi
echo "done." 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 # Regenerate groups and users for packages
/usr/local/etc/rc.recover pkg > /dev/null /usr/local/etc/rc.recover pkg > /dev/null
...@@ -244,6 +236,14 @@ done ...@@ -244,6 +236,14 @@ done
# Set up the correct php.ini content # Set up the correct php.ini content
/usr/local/etc/rc.php_ini_setup /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 # Startup configd
/usr/local/etc/rc.d/configd start /usr/local/etc/rc.d/configd start
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment