mirror of
https://git.myvelabs.com/lab/myvemail.git
synced 2025-12-17 19:46:14 +00:00
Update mail.sh
This commit is contained in:
parent
5a860e19a4
commit
c165a8f819
1 changed files with 5 additions and 5 deletions
10
mail.sh
10
mail.sh
|
|
@ -19,32 +19,32 @@ function die
|
|||
}
|
||||
|
||||
# Grab options
|
||||
while [ ${1} != "" ]
|
||||
while [ ${1} ]
|
||||
do
|
||||
case ${1} in
|
||||
-u | --user )
|
||||
if [ ${2} != "" ]
|
||||
if [ ${2} ]
|
||||
then
|
||||
username=${2}
|
||||
shift
|
||||
fi
|
||||
;;
|
||||
-p | --port )
|
||||
if [ ${2} != "" ]
|
||||
if [ ${2} ]
|
||||
then
|
||||
ssh_port=${2}
|
||||
shift
|
||||
fi
|
||||
;;
|
||||
-d | --domain )
|
||||
if [ ${2} != "" ]
|
||||
if [ ${2} ]
|
||||
then
|
||||
domain_url=${2}
|
||||
shift
|
||||
fi
|
||||
;;
|
||||
-m | --mail-user )
|
||||
if [ ${2} != "" ]
|
||||
if [ ${2} ]
|
||||
then
|
||||
mailuser=${2}
|
||||
shift
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue