Updated help menu and removed unnecessary comments.
This commit is contained in:
parent
c01b4b24c7
commit
ada0180330
@ -10,7 +10,7 @@ if [[ $1 == "help" ]]; then
|
|||||||
echo ""
|
echo ""
|
||||||
echo "List of INSTALL/UPDATE argument (no argument name):"
|
echo "List of INSTALL/UPDATE argument (no argument name):"
|
||||||
echo "Arg 1: 'install' or 'update'"
|
echo "Arg 1: 'install' or 'update'"
|
||||||
echo "Arg 2: System type 'amd64' 'x86' 'arm64' 'armv6'"
|
echo "Arg 2: System type 'amd64' 'arm64'"
|
||||||
echo "Arg 3: Mesh agent URL"
|
echo "Arg 3: Mesh agent URL"
|
||||||
echo "Arg 4: API URL"
|
echo "Arg 4: API URL"
|
||||||
echo "Arg 5: Client ID"
|
echo "Arg 5: Client ID"
|
||||||
@ -209,7 +209,6 @@ function uninstall_mesh() {
|
|||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
install)
|
install)
|
||||||
#check_profile
|
|
||||||
go_install
|
go_install
|
||||||
install_mesh
|
install_mesh
|
||||||
agent_compile
|
agent_compile
|
||||||
@ -218,7 +217,6 @@ install)
|
|||||||
echo "Tactical Agent Install is done"
|
echo "Tactical Agent Install is done"
|
||||||
exit 0;;
|
exit 0;;
|
||||||
update)
|
update)
|
||||||
#check_profile
|
|
||||||
go_install
|
go_install
|
||||||
agent_compile
|
agent_compile
|
||||||
update_agent
|
update_agent
|
||||||
@ -226,7 +224,6 @@ update)
|
|||||||
echo "Tactical Agent Update is done"
|
echo "Tactical Agent Update is done"
|
||||||
exit 0;;
|
exit 0;;
|
||||||
uninstall)
|
uninstall)
|
||||||
#check_profile
|
|
||||||
uninstall_agent
|
uninstall_agent
|
||||||
uninstall_mesh
|
uninstall_mesh
|
||||||
echo "Tactical Agent Uninstall is done"
|
echo "Tactical Agent Uninstall is done"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user