From e5cdce79a16993d3c44f0739acc008b78365fc6b Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Fri, 6 Jul 2018 20:31:22 +0000 Subject: [PATCH] shell: move banner to top like it used to Discussed with a number of people over the years. --- src/sbin/opnsense-shell | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sbin/opnsense-shell b/src/sbin/opnsense-shell index 264afdb9c..04245a9f8 100755 --- a/src/sbin/opnsense-shell +++ b/src/sbin/opnsense-shell @@ -115,6 +115,8 @@ while : ; do # Failure to exit at that moment would lead to an infinite loop. set -e +${CMD_BANNER} + echo echo " 0) Logout 7) Ping host" echo " 1) Assign interfaces 8) Shell" @@ -178,6 +180,4 @@ case ${OPCODE} in ;; esac -${CMD_BANNER} - done