diff --git a/README.md b/README.md index 562de53..1b4f769 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A system management tool for server operations, written in C++. ## Installation ``` -curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/install.sh | bash +curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/install.sh | sudo bash ``` ## Installation of Agent @@ -13,5 +13,5 @@ curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/instal Install the Agent on each server you wish to manage. Supports amd64 (x86_64) and arm64 (aarch64) architectures. ``` -curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/install.sh | bash +curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/server_autosetup.sh | sudo bash ``` \ No newline at end of file diff --git a/server_autosetup.sh b/server_autosetup.sh index 8dc328e..ebbfd7e 100755 --- a/server_autosetup.sh +++ b/server_autosetup.sh @@ -97,18 +97,6 @@ chsh -s /bin/bash dropshell #-------------------------------- -# download dropshell - -# determine if x86_64 or arm64 -ARCH=$(uname -m) - -# check is aarch64 or x86_64 and error if neither -if [ "$ARCH" != "aarch64" ] && [ "$ARCH" != "x86_64" ]; then - echo "Unsupported architecture: $ARCH" - exit 1 -fi - - echo "Installation complete." #--------------------------------