firmware: moving ahead with opnsense-update change for 21.1.2

This commit is contained in:
Franco Fichtner 2021-02-19 11:05:06 +01:00
parent aa167350b2
commit dc883ebbba
2 changed files with 0 additions and 10 deletions

View File

@ -32,11 +32,6 @@ PIPEFILE="/tmp/pkg_upgrade.pipe"
RELEASE=$(opnsense-update -vR)
TEE="/usr/bin/tee -a"
# XXX opnsense-update behaves better in the future
if [ "${RELEASE}" = "unknown" ]; then
RELEASE=
fi
if [ "${1}" = "upgrade" ]; then
: # ok, unconditional major upgrade
elif [ "${1}" = "ALLOW_RISKY_MAJOR_UPGRADE" -a -n "${RELEASE}" ]; then

View File

@ -31,11 +31,6 @@ RELEASE=$(opnsense-update -vR)
PROMPT="[y/N]"
ARGS=
# XXX opnsense-update behaves better in the future
if [ "${RELEASE}" = "unknown" ]; then
RELEASE=
fi
echo -n "Fetching change log information, please wait... "
if /usr/local/opnsense/scripts/firmware/changelog.sh fetch; then
echo "done"