forked from GNUsocial/gnu-social
[DOCKER][MAIL] Improved exec.sh
This commit is contained in:
parent
cea170ed18
commit
0137a68ccb
@ -1,4 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
USAGE = "Usage: $0 new domain <domain_name>\n : $0 new user <user_name> <user_password>\n : $0 new alias <user_alias> <user_name>"
|
||||||
|
|
||||||
|
if [ -z "$2" ]
|
||||||
|
then
|
||||||
|
echo "$USAGE";
|
||||||
|
exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$1" == "new" ]
|
if [ "$1" == "new" ]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user