This commit is contained in:
dami 2026-04-03 03:22:17 +08:00
parent c7325645be
commit 30f499f3cd
6 changed files with 20 additions and 11 deletions

View File

@ -19,8 +19,10 @@ openrestyDir=${serverPath}/source/openresty
Install_openresty()
{
if [ -d $serverPath/openresty ];then
exit 0
if [ "${action}" == "install" ];then
if [ -d $serverPath/openresty ];then
exit 0
fi
fi
# ----- cpu start ------

View File

@ -19,8 +19,10 @@ openrestyDir=${serverPath}/source/openresty
Install_openresty()
{
if [ -d $serverPath/openresty ];then
exit 0
if [ "${action}" == "install" ];then
if [ -d $serverPath/openresty ];then
exit 0
fi
fi
# ----- cpu start ------

View File

@ -20,8 +20,10 @@ openrestyDir=${serverPath}/source/openresty
Install_openresty()
{
if [ -d $serverPath/openresty ];then
exit 0
if [ "${action}" == "install" ];then
if [ -d $serverPath/openresty ];then
exit 0
fi
fi
# ----- cpu start ------

View File

@ -20,8 +20,10 @@ openrestyDir=${serverPath}/source/openresty
Install_openresty()
{
if [ -d $serverPath/openresty ];then
exit 0
if [ "${action}" == "install" ];then
if [ -d $serverPath/openresty ];then
exit 0
fi
fi
# ----- cpu start ------

View File

@ -20,8 +20,10 @@ openrestyDir=${serverPath}/source/openresty
Install_openresty()
{
if [ -d $serverPath/openresty ];then
exit 0
if [ "${action}" == "install" ];then
if [ -d $serverPath/openresty ];then
exit 0
fi
fi
# ----- cpu start ------

View File

@ -20,7 +20,6 @@ openrestyDir=${serverPath}/source/openresty
Install_openresty()
{
echo "action:${action}"
if [ "${action}" == "install" ];then
if [ -d $serverPath/openresty ];then
exit 0