[DOCKER][MAIL] Improved exec.sh

This commit is contained in:
Pastilhas 2020-11-04 16:27:50 +00:00 committed by Hugo Sales
parent cea170ed18
commit 0137a68ccb
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -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