@@ -5,27 +5,27 @@ menu_main ()
55 refresh_state
66
77 if [[ " $STATUS_RELAY " = " On" ]]; then
8- local relay=" Relay: $( text_green ${STATUS_RELAY} ) "
8+ local relay=" $( text_white " Relay:" ) $( text_green ${STATUS_RELAY} ) "
99 else
10- local relay=" Relay: $( text_red ${STATUS_RELAY} ) "
10+ local relay=" $( text_white " Relay:" ) $( text_red ${STATUS_RELAY} ) "
1111 fi
1212
1313 if [[ " $STATUS_FORGER " = " On" ]]; then
14- local forger=" Forger: $( text_green ${STATUS_FORGER} ) "
14+ local forger=" $( text_white " Forger:" ) $( text_green ${STATUS_FORGER} ) "
1515 else
16- local forger=" Forger: $( text_red ${STATUS_FORGER} ) "
16+ local forger=" $( text_white " Forger:" ) $( text_red ${STATUS_FORGER} ) "
1717 fi
1818
1919 if [[ " $STATUS_NTP " = " On" ]]; then
20- local ntp=" NTP: $( text_green ${STATUS_NTP} ) "
20+ local ntp=" $( text_white " NTP:" ) $( text_green ${STATUS_NTP} ) "
2121 else
22- local ntp=" NTP: $( text_red ${STATUS_NTP} ) "
22+ local ntp=" $( text_white " NTP:" ) $( text_red ${STATUS_NTP} ) "
2323 fi
2424
2525 if [[ " $STATUS_PGSQL " = " On" ]]; then
26- local pgsql=" PG: $( text_green ${STATUS_PGSQL} ) "
26+ local pgsql=" $( text_white " PG:" ) $( text_green ${STATUS_PGSQL} ) "
2727 else
28- local pgsql=" PG: $( text_red ${STATUS_PGSQL} ) "
28+ local pgsql=" $( text_white " PG:" ) $( text_red ${STATUS_PGSQL} ) "
2929 fi
3030
3131 if [[ -d " $CORE_DIR " ]]; then
@@ -44,7 +44,7 @@ menu_main ()
4444
4545 divider
4646
47- text_white " $relay $forger $ntp $pgsql "
47+ echo " $relay $forger $ntp $pgsql "
4848
4949 divider
5050
0 commit comments