fix options

This commit is contained in:
rootzoll
2019-01-14 15:30:01 +01:00
parent d60aca3bd2
commit 52a691db99

View File

@@ -1,4 +1,3 @@
#!/bin/bash #!/bin/bash
# command info # command info
@@ -15,8 +14,9 @@ abcd=$1
newPassword=$2 newPassword=$2
# run interactive if no further parameters # run interactive if no further parameters
OPTIONS=()
if [ ${#abcd} -eq 0 ]; then if [ ${#abcd} -eq 0 ]; then
OPTIONS=(A "Master User Password / SSH") OPTIONS+=(A "Master User Password / SSH")
OPTIONS+=(B "RPC Password (blockchain/lnd)") OPTIONS+=(B "RPC Password (blockchain/lnd)")
OPTIONS+=(C "LND Wallet Password") OPTIONS+=(C "LND Wallet Password")
OPTIONS+=(D "LND Seed Password") OPTIONS+=(D "LND Seed Password")