firmware: comment on compexity avoidance in shell menu

Fix plist while here.
This commit is contained in:
Franco Fichtner 2021-06-29 14:38:36 +02:00
parent e30d7c88cb
commit 38578176e4
2 changed files with 10 additions and 0 deletions

2
plist
View File

@ -243,6 +243,8 @@
/usr/local/opnsense/data/proxy/template_error_pages/ERR_ZERO_SIZE_OBJECT.html
/usr/local/opnsense/data/proxy/template_error_pages/error-details.txt
/usr/local/opnsense/data/proxy/template_error_pages/errorpage.css
/usr/local/opnsense/firmware-message
/usr/local/opnsense/firmware-upgrade
/usr/local/opnsense/mvc/app/cache/README
/usr/local/opnsense/mvc/app/config/config.php
/usr/local/opnsense/mvc/app/config/loader.php

View File

@ -27,6 +27,14 @@
set -e
# From this shell script never execute any remote check priror to user
# consent. The first action is the changelog fetch. After that we
# opportunistically run the selected major "upgrade"/minor "update" request.
# Except for the reboot check, we never inspect the incoming integrity
# of the update: in case there is none available the respective function
# will tell us itself. With this we shield the firmware shell run from
# the complexity of GUI/API updates so that bugs are most likely avoided.
SCRIPTSDIR="/usr/local/opnsense/scripts/firmware"
RELEASE=$(opnsense-update -vR)
PROMPT="y/N"