mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
firmware: rather don't use -f, useful for testing but that's done
This commit is contained in:
parent
93072dd807
commit
a42e3b68a6
@ -65,7 +65,7 @@ if [ -z "${RELEASE}" ]; then
|
||||
else
|
||||
# upgrade to a major release
|
||||
${TEE} ${LOCKFILE} < ${PIPEFILE} &
|
||||
if opnsense-update -ufr ${RELEASE} 2>&1 > ${PIPEFILE}; then
|
||||
if opnsense-update -ur ${RELEASE} 2>&1 > ${PIPEFILE}; then
|
||||
echo '***REBOOT***' >> ${LOCKFILE}
|
||||
sleep 5
|
||||
/usr/local/etc/rc.reboot
|
||||
|
||||
@ -54,7 +54,7 @@ elif [ "$PACKAGE" == "maj" ]; then
|
||||
fi
|
||||
# perform first half of major upgrade
|
||||
# (download all + kernel install)
|
||||
if opnsense-update -ufr "${NAME}" >> ${PKG_PROGRESS_FILE} 2>&1; then
|
||||
if opnsense-update -ur "${NAME}" >> ${PKG_PROGRESS_FILE} 2>&1; then
|
||||
REBOOT=1
|
||||
fi
|
||||
# second half reboots multiple times,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user