|
|
@ -20,11 +20,11 @@ display_menu() { |
|
|
|
install_service_option="Uninstall Bitcoin Service%remove-service bitcoin" |
|
|
|
install_service_option="Uninstall Bitcoin Service%remove-service bitcoin" |
|
|
|
service_status_option="View Bitcoin Service Status" |
|
|
|
service_status_option="View Bitcoin Service Status" |
|
|
|
if is-bitcoin-running; then |
|
|
|
if is-bitcoin-running; then |
|
|
|
bitcoin_server_option="Stop Bitcoin Service%sudo systemctl stop bitcoin" |
|
|
|
bitcoin_service_option="Stop Bitcoin Service%sudo systemctl stop bitcoin" |
|
|
|
menu "$title" "$blockchain_info" "$set_config" "$change_directory" "$clear_cache" "$repair_permissions" "$bitcoin_server_option" "$service_status_option" "$install_service_option" "$install_bitcoin_option" "$exit_option" |
|
|
|
menu "$title" "$blockchain_info" "$set_config" "$change_directory" "$clear_cache" "$repair_permissions" "$service_status_option" "$bitcoin_service_option" "$install_service_option" "$install_bitcoin_option" "$exit_option" |
|
|
|
else |
|
|
|
else |
|
|
|
bitcoin_server_option="Start Bitcoin Service%sudo systemctl start bitcoin" |
|
|
|
bitcoin_service_option="Start Bitcoin Service%sudo systemctl start bitcoin" |
|
|
|
menu "$title" "$set_config" "$change_directory" "$clear_cache" "$repair_permissions" "$bitcoin_server_option" "$install_service_option" "$service_status_option" "$install_bitcoin_option" "$exit_option" |
|
|
|
menu "$title" "$set_config" "$change_directory" "$clear_cache" "$repair_permissions" "$service_status_option" "$bitcoin_service_option" "$install_service_option" "$install_bitcoin_option" "$exit_option" |
|
|
|
fi |
|
|
|
fi |
|
|
|
else |
|
|
|
else |
|
|
|
script_dir=$(cd -P -- "$(dirname -- "$0")" && pwd -P) |
|
|
|
script_dir=$(cd -P -- "$(dirname -- "$0")" && pwd -P) |
|
|
|