From be2b5a931afe070f443e685e66ed37c7adf0c7ea Mon Sep 17 00:00:00 2001 From: Zhu Rengen Date: Tue, 10 Aug 2021 14:26:53 +0800 Subject: [PATCH] update --- script/install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/script/install.sh b/script/install.sh index dc8d0df..3788a4c 100755 --- a/script/install.sh +++ b/script/install.sh @@ -555,7 +555,11 @@ if [[ $# > 0 ]]; then uninstall_dashboard 0 ;; "install_agent") - install_agent 0 + if [[ $# == 4 ]]; then + install_agent $2 $3 $4 + else + install_agent 0 + fi ;; "modify_agent_config") modify_agent_config 0