mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-20 02:47:34 +01:00
testing case switching
This commit is contained in:
@@ -44,4 +44,33 @@ if [ ${#abcd} -eq 0 ]; then
|
|||||||
esac
|
esac
|
||||||
fi
|
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 ""
|
||||||
Reference in New Issue
Block a user