Add noask argument to install playsms

This commit is contained in:
poka 2019-12-11 15:15:13 +00:00
parent e42796aa8d
commit cc35674a4f
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ unset err
pwdDB=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 42 | head -n 1)
args=$@
[[ $args =~ noask ]] && noask=o
[[ $args =~ noask ]] && noask=o && askSSL=o
[[ ! $PSMS_DOMAIN ]] && echo -e "${c_yellow}Choisissez un nom de domain pour playsms: $c_" && read PSMS_DOMAIN