firmware: use launcher trick for these as well; closes #4718

So we get a message that the system is doing something else instead
of no message at all.
This commit is contained in:
Franco Fichtner 2021-02-23 08:49:12 +01:00
parent 2d382bf870
commit a4ae9b3918

View File

@ -27,6 +27,7 @@
set -e
SCRIPTSDIR="/usr/local/opnsense/scripts/firmware"
RELEASE=$(opnsense-update -vR)
PROMPT="[y/N]"
ARGS=
@ -67,21 +68,21 @@ ${RELEASE:-y})
;;
[sS])
echo
/usr/local/opnsense/scripts/firmware/launcher.sh security
${SCRIPTSDIR}/launcher.sh ${SCRIPTSDIR}/security.sh
echo
read -p "Press any key to return to menu." WAIT
exit 0
;;
[hH])
echo
/usr/local/opnsense/scripts/firmware/launcher.sh health
${SCRIPTSDIR}/launcher.sh ${SCRIPTSDIR}/health.sh
echo
read -p "Press any key to return to menu." WAIT
exit 0
;;
[cC])
echo
/usr/local/opnsense/scripts/firmware/launcher.sh connection
${SCRIPTSDIR}/launcher.sh ${SCRIPTSDIR}/connection.sh
echo
read -p "Press any key to return to menu." WAIT
exit 0