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

This commit is contained in:
Franco Fichtner 2017-07-12 08:04:13 +02:00
parent 93072dd807
commit a42e3b68a6
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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,