From 323099e7d85c380bc7adf9e47564fb77fe802431 Mon Sep 17 00:00:00 2001 From: edschuy95 Date: Thu, 4 Sep 2025 18:41:56 +0000 Subject: [PATCH] Update README.md --- README.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 208a0f3..47e3a47 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Feel free to adapt the script and submit changes that will contribute! Install alpine pre-reqs: ``` -apk add bash bash-completion gcompat +apk add gcompat ``` Download script with this url: `https://sources.gtsvr.net/edschuy95/LinuxRMM-Alpine-Script/raw/branch/main/rmmagent-linux.sh` @@ -40,8 +40,9 @@ This ensures the script adapts to different system types automatically without n ## Install To install the agent, launch the script with this argument: -```bash -bash ./rmmagent-linux.sh install 'Mesh agent' 'API URL' 'Client ID' 'Site ID' 'Auth Key' 'Agent Type' +```ash +chmod +x ./rmmagent-linux.sh +./rmmagent-linux.sh install 'Mesh agent' 'API URL' 'Client ID' 'Site ID' 'Auth Key' 'Agent Type' ``` The compiling can be quite long, don't panic and wait few minutes... USE THE 'SINGLE QUOTES' IN ALL FIELDS! @@ -79,23 +80,24 @@ The arguments are: Can be *server* or *workstation* and define the type of agent. ### Example -```bash -bash ./rmmagent-linux.sh install 'https://mesh.example.com' 'https://api.example.com' 3 1 'XXXXX' server +```ash +chmod +x ./rmmagent-linux.sh +./rmmagent-linux.sh install 'https://mesh.example.com' 'https://api.example.com' 3 1 'XXXXX' server ``` ## Update Simply launch the script with *update* as argument. -```bash -bash ./rmmagent-linux.sh update +```ash +./rmmagent-linux.sh update ``` ## Uninstall To uninstall the agent, launch the script with this argument: -```bash -bash ./rmmagent-linux.sh uninstall 'Mesh FQDN' 'Mesh ID' +```ash +./rmmagent-linux.sh uninstall 'Mesh FQDN' 'Mesh ID' ``` Note: Single quotes must be around the Mesh ID for it to uninstall the mesh agent properly @@ -113,7 +115,7 @@ The argument are: You are looking for a 64 charaters long value of random letter case, numbers, and special characters. ### Example -```bash +```ash ./rmmagent-linux.sh uninstall mesh.example.com 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' ```