basicswap-bash/bsx/removecoin.sh
2024-02-12 17:57:48 -05:00

10 lines
442 B
Bash
Executable file

#!/bin/bash
## Prompt for user input
echo -e "\n\nThe following coins can be disabled (case sensitive)\nbitcoin\ndash\nfiro\nlitecoin\nparticl\nPIVX\n"
read -p 'Full name of coin to disable [example: litecoin] ' disablecoin
## Confirm
echo -e "\nDisable $disablecoin on your BasicSwap install, correct? Press any key to continue. CTRL-C to exit"
read
## Disable the coin
basicswap-prepare --datadir=/$SWAP_DATADIR --disablecoin=$disablecoin