From 692e5d0740b03fb1d6efcbe0e6cb48a3791c9312 Mon Sep 17 00:00:00 2001 From: livejq Date: Wed, 29 Dec 2021 14:06:19 +0800 Subject: [PATCH] fix wget --- AutoPing.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/AutoPing.sh b/AutoPing.sh index 02290ec..8d7cb6f 100644 --- a/AutoPing.sh +++ b/AutoPing.sh @@ -91,9 +91,9 @@ configureUb() { timedatectl set-timezone Asia/Shanghai #Agent mkdir -p /var/monitor_agent - wget $origin/Agent/agentMain.jar -O /var/monitor_agent - wget $origin/Agent/conf -O /var/monitor_agent - wget $origin/Agent/AgentRestart.sh -O /root + wget $origin/Agent/agentMain.jar -P /var/monitor_agent + wget $origin/Agent/conf -P /var/monitor_agent + wget $origin/Agent/AgentRestart.sh -P /root chmod 755 -R /var/monitor_agent export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 /root/AgentRestart.sh @@ -141,9 +141,9 @@ configureCe() { timedatectl set-timezone Asia/Shanghai #Agent mkdir -p /var/monitor_agent - wget $origin/Agent/agentMain.jar -O /var/monitor_agent - wget $origin/Agent/conf -O /var/monitor_agent - wget $origin/Agent/AgentRestart.sh -O /root + wget $origin/Agent/agentMain.jar -P /var/monitor_agent + wget $origin/Agent/conf -P /var/monitor_agent + wget $origin/Agent/AgentRestart.sh -P /root chmod 755 -R /var/monitor_agent export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk /root/AgentRestart.sh