Commit c2a5d2e2 by liyapeng

ceshi

1 parent 18ebc364
Showing with 8 additions and 1 deletions
......@@ -3,12 +3,19 @@ export PATH="$PATH:./"
LOG_COLLECT_FILE_URL="https://2019-10-1.oss-cn-huhehaote.aliyuncs.com/script_tools/adl_log_collect.zip"
operation() {
if command -v unzip &>/dev/null; then
echo "unzip 已经安装"
else
echo "安装 unzip"
sudo apt-get update >>/dev/null
sudo apt-get install -y unzip >>/dev/null
fi
echo "[2]Unzip Tool..."
unzip -o adl_log_collect.zip >>/dev/null
echo "[3]Runing Tool..."
cd adl_log_collect
chmod +x log_collect.sh
./log_collect.sh
bash log_collect.sh
cd ..
echo "[4]Clearing Env..."
rm -rf adl_log_collect.zip
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!