mirror of
https://github.com/seanwhe/xmrig-bash-scripts.git
synced 2024-11-24 06:07:34 +03:00
show comparison of env and mysettings at end
This commit is contained in:
parent
e049916e7a
commit
ae76054a4e
13
functions.sh
13
functions.sh
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo -e "${_GREEN}FUNCTIONS LOADING${_RESET}"
|
||||
echo -e "${_GREEN}LOADING FUNCTIONS${_RESET}"
|
||||
|
||||
function prompt_confirm() {
|
||||
while true; do
|
||||
@ -14,7 +14,18 @@ function prompt_confirm() {
|
||||
}
|
||||
|
||||
function show_settings () {
|
||||
echo "${_CYAN}Settings from loaded environment:${_RESET}"
|
||||
echo "${_GREEN}Pool URL:${_RESET}: $_POOL_SERVER_URL"
|
||||
echo "${_GREEN}Pool Port:${_RESET}: $_POOL_SERVER_PORT"
|
||||
echo "${_GREEN}Recieve Wallet:${_RESET}: $_RECEIVE_WALLET"
|
||||
echo "${_GREEN}Email Address:${_RESET}: $_EMAIL"
|
||||
echo "${_GREEN}Worker Identity:${_RESET}: $_API_WORKER_ID"
|
||||
}
|
||||
|
||||
function show_mysettings () {
|
||||
if [ -f $_WORK_DIR/$_MYSETTINGS_FILE ]; then
|
||||
load_mysettings
|
||||
echo "${_CYAN}Settings from mysettings.sh:${_RESET}"
|
||||
echo "${_CYAN}Settings loaded:${_RESET}"
|
||||
echo "${_GREEN}Pool URL:${_RESET}: $_POOL_SERVER_URL"
|
||||
echo "${_GREEN}Pool Port:${_RESET}: $_POOL_SERVER_PORT"
|
||||
|
@ -70,4 +70,4 @@ SCREEN=""
|
||||
. start.sh
|
||||
|
||||
|
||||
echo -e "${_CYAN}INSTALLATION STOPPED${_RESET}"
|
||||
echo -e "${_CYAN}INSTALLATION COMPLETED${_RESET}"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo -e "${_GREEN}DEFAULT SETTINGS LOADING${_RESET}"
|
||||
echo -e "${_GREEN}LOADING DEFAULT SETTINGS${_RESET}"
|
||||
|
||||
_EMAIL="miners@prepaidmeters.com"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user