mirror of
https://github.com/10h30/ols-docker-env.git
synced 2026-05-12 15:21:24 +09:00
cert.sh
This commit is contained in:
+9
-6
@@ -106,6 +106,14 @@ specify_setup_main(){
|
||||
store_credential ${DOMAIN}
|
||||
}
|
||||
|
||||
main(){
|
||||
if [ "${SQL_USER}" != '' ] && [ "${SQL_PASS}" != '' ] && [ "${SQL_DB}" != '' ]; then
|
||||
specify_setup_main
|
||||
else
|
||||
auto_setup_main
|
||||
fi
|
||||
}
|
||||
|
||||
check_input ${1}
|
||||
while [ ! -z "${1}" ]; do
|
||||
case ${1} in
|
||||
@@ -130,9 +138,4 @@ while [ ! -z "${1}" ]; do
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
if [ "${SQL_USER}" != '' ] && [ "${SQL_PASS}" != '' ] && [ "${SQL_DB}" != '' ]; then
|
||||
specify_setup_main
|
||||
else
|
||||
auto_setup_main
|
||||
fi
|
||||
main
|
||||
|
||||
Reference in New Issue
Block a user