mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
firmware: this broke too
This commit is contained in:
parent
0e5a5c3ba2
commit
86ffbd88ad
@ -68,7 +68,7 @@ sets_upgraded=
|
||||
upgrade_needs_reboot="0"
|
||||
|
||||
product_reboot=$(/usr/local/sbin/pluginctl -g system.firmware.reboot)
|
||||
if [ -n "${product_reboot}" ]; then
|
||||
if [ "${product_reboot}" = "1" ]; then
|
||||
needs_reboot="1"
|
||||
fi
|
||||
|
||||
|
||||
@ -60,7 +60,7 @@ if [ -n "${LQUERY}" -a -n "${RQUERY}" ]; then
|
||||
fi
|
||||
|
||||
ALWAYS_REBOOT=$(/usr/local/sbin/pluginctl -g system.firmware.reboot)
|
||||
if [ -n "${ALWAYS_REBOOT}" ]; then
|
||||
if [ "${ALWAYS_REBOOT}" = "1" ]; then
|
||||
WANT_REBOOT=0
|
||||
fi
|
||||
|
||||
|
||||
@ -65,7 +65,7 @@ if opnsense-update ${FORCE} -bk -c; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "${ALWAYS_REBOOT}" ]; then
|
||||
if [ "${ALWAYS_REBOOT}" = "1" ]; then
|
||||
if [ "${PKGS_HASH}" != "$(${PKG} query %n-%v 2> /dev/null | sha256)" ]; then
|
||||
output_reboot
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user