mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 10:35:27 +00:00
rc: generate package user/group data after updates
This commit is contained in:
parent
436a9fa38b
commit
6d8de7056b
12
src/etc/rc
12
src/etc/rc
@ -227,12 +227,6 @@ fi
|
||||
|
||||
echo "done."
|
||||
|
||||
# Regenerate groups and users for packages
|
||||
/usr/local/etc/rc.recover pkg > /dev/null
|
||||
|
||||
# Recreate capabilities DB
|
||||
/usr/bin/cap_mkdb /etc/login.conf
|
||||
|
||||
# Perform major updates
|
||||
for STAGE in B P; do
|
||||
if opnsense-update -${STAGE}; then
|
||||
@ -241,6 +235,12 @@ for STAGE in B P; do
|
||||
fi
|
||||
done
|
||||
|
||||
# Regenerate groups and users for packages
|
||||
/usr/local/etc/rc.recover pkg > /dev/null
|
||||
|
||||
# Recreate capabilities DB
|
||||
/usr/bin/cap_mkdb /etc/login.conf
|
||||
|
||||
# Set up the correct php.ini content
|
||||
/usr/local/etc/rc.php_ini_setup
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user