mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
rc: run through more static updates before applying updates
This commit is contained in:
parent
7b7d7ab7ea
commit
96b8cbe2a5
16
src/etc/rc
16
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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user