[init] 修改大量代码

This commit is contained in:
zeaslity
2023-11-13 16:50:50 +08:00
parent fe25545fc1
commit e2aee45ff1
4 changed files with 236 additions and 95 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
oss_url_prefix="https://oss-s1.107421.xyz"
octopus_agent_path=/usr/local/etc/octpus-agent/
octopus_agent_path=/usr/local/etc/octpus-agent
echo ""
echo ""
@@ -97,7 +97,7 @@ check_sys() {
else
linux_release_version=""
fi
log "系统参数信息如下: LinuxReleaseVersion => $linux_release_version"
log "系统参数信息如下: linux_release_version => $linux_release_version"
# 判断系统的包管理工具 apt, yum, or zypper
get_package_manage_tool() {