Commit 2febc146 authored by F4BWG's avatar F4BWG

Master ID and version automatically displaying on top

parent 82dd12d9
NCurses BrandMeister Master Menu
========================================
This script is for BrandMeister Master Server sysops. It will help you execute typical tasks you have to do on the server.
For convenience, the BrandMeister server version number will display in the top menu title.
For convenience, the BrandMeister server ID and version number will display in the top menu title.
Requirements
========================================
......
......@@ -12,7 +12,7 @@ WIDTH=40
CHOICE_HEIGHT=6
#MYEDITOR=/usr/bin/vi
MYEDITOR=/usr/bin/emacs
BACKTITLE="BrandMeister 3021 Canada $(dpkg --list | grep -i brandmeister | grep -vi registry | awk -F ' ' '{ print $3 }')"
BACKTITLE="BrandMeister Master $(grep -m 1 'network =' /opt/BrandMeister/BrandMeister.conf | grep -E -o '[0-9]+') version $(dpkg --list | grep -i brandmeister | grep -vi registry | awk -F ' ' '{ print $3 }')"
TITLE="BM-3021-CA"
MENU="Choose one of the following options:"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment