mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-10 21:00:36 +02:00
testing case switching
This commit is contained in:
parent
3de01c5195
commit
9eb5487e06
@ -3,7 +3,7 @@
|
||||
# command info
|
||||
if [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
||||
echo "small config script to set a passwords A,B,C & D"
|
||||
echo "blitz.setpassword.sh [?a|b|c|d] [?newpassword]"
|
||||
echo "blitz.setpassword.sh [?a|b|c|d] [?newpassword] "
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@ -44,4 +44,33 @@ if [ ${#abcd} -eq 0 ]; then
|
||||
esac
|
||||
fi
|
||||
|
||||
echo "Changing '${abcd}' ..."
|
||||
echo "Changing Password ${abcd} ..."
|
||||
echo ""
|
||||
|
||||
# PASSWORD A
|
||||
if [ "${abcd}" = "a" ]; then
|
||||
|
||||
echo "TODO: Password A"
|
||||
|
||||
# PASSWORD B
|
||||
elif [ "${abcd}" = "b" ]; then
|
||||
|
||||
echo "TODO: Password B"
|
||||
|
||||
# PASSWORD C
|
||||
elif [ "${abcd}" = "c" ]; then
|
||||
|
||||
echo "TODO: Password C"
|
||||
|
||||
# PASSWORD D
|
||||
elif [ "${abcd}" = "d" ]; then
|
||||
|
||||
echo "#### NOTICE ####"
|
||||
echo "Sorry - the password D cannot be changed. Its the password you set on creating your wallet to protect your seed (the list of words)."
|
||||
|
||||
# everything else
|
||||
else
|
||||
echo "FAIL: there is no password '${abcd}' (reminder: use lower case)"
|
||||
fi
|
||||
|
||||
echo ""
|
Loading…
x
Reference in New Issue
Block a user