move VC to main common.sh

This commit is contained in:
Tobias Powalowski 2023-09-06 10:47:51 +02:00
parent b248d03f23
commit 037fac6ee3
2 changed files with 2 additions and 2 deletions

View file

@ -6,6 +6,8 @@ _BASENAME=${0##*/}
_RUNNING_ARCH="$(uname -m)" _RUNNING_ARCH="$(uname -m)"
_LOG="/dev/tty11" _LOG="/dev/tty11"
_NO_LOG="/dev/null" _NO_LOG="/dev/null"
_VC_NUM="$(basename ${_LOG} | sed -e 's#tty##g')"
_VC="VC${_VC_NUM}"
_ANSWER="/.${_BASENAME}" _ANSWER="/.${_BASENAME}"
_LABEL="Exit" _LABEL="Exit"
_DLPROG="curl -L -s" _DLPROG="curl -L -s"

View file

@ -18,8 +18,6 @@ _INST="/${_LIB}/installer"
_HELP="/${_LIB}/installer/help" _HELP="/${_LIB}/installer/help"
_RUN="/${_LIB}/run" _RUN="/${_LIB}/run"
_UPDATE="/${_LIB}/update" _UPDATE="/${_LIB}/update"
_VC_NUM="$(basename "${_LOG}" | sed -e 's#tty##g')"
_VC="VC${_VC_NUM}"
_MENU_TITLE=" Logging to ${_VC} | ${_LOG} " _MENU_TITLE=" Logging to ${_VC} | ${_LOG} "
_graphic_options() { _graphic_options() {