Commit a42e3b68 authored by Franco Fichtner's avatar Franco Fichtner

firmware: rather don't use -f, useful for testing but that's done

parent 93072dd8
......@@ -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,
......
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