add usage example
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
|
||||||
|
# Example Usage
|
||||||
|
# ssh user@host "sudo -n bash -s" -- < ./commands/db-setup.sh 'rootPass' "maindb" "maindbPass"
|
||||||
|
|
||||||
if [ "$1" == "-h" ]; then
|
if [ "$1" == "-h" ]; then
|
||||||
echo "Usage:"
|
echo "Usage:"
|
||||||
echo " ./db-setup.sh <rootPassword> <main-db-user> <main-db-user-password>"
|
echo " ./db-setup.sh <rootPassword> <main-db-user> <main-db-user-password>"
|
||||||
|
Reference in New Issue
Block a user