|
|
|
@ -19,10 +19,10 @@ display_menu() {
|
|
|
|
|
if is-service-installed bitcoin; then |
|
|
|
|
install_service_option="Uninstall Bitcoin Service%remove-service bitcoin" |
|
|
|
|
if is-bitcoin-running; then |
|
|
|
|
bitcoin_server_option="Stop Bitcoin Service%sudo systemctl stop bitcoind" |
|
|
|
|
bitcoin_server_option="Stop Bitcoin Service%sudo systemctl stop bitcoin" |
|
|
|
|
menu "$title" "$blockchain_info" "$set_config" "$change_directory" "$clear_cache" "$repair_permissions" "$bitcoin_server_option" "$install_service_option" "$install_bitcoin_option" "$exit_option" |
|
|
|
|
else |
|
|
|
|
bitcoin_server_option="Start Bitcoin Service%sudo systemctl start bitcoind" |
|
|
|
|
bitcoin_server_option="Start Bitcoin Service%sudo systemctl start bitcoin" |
|
|
|
|
menu "$title" "$set_config" "$change_directory" "$clear_cache" "$repair_permissions" "$bitcoin_server_option" "$install_service_option" "$install_bitcoin_option" "$exit_option" |
|
|
|
|
fi |
|
|
|
|
else |
|
|
|
|