diff --git a/README.md b/README.md index 27635c7..562de53 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,14 @@ 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 +``` + +## Installation of Agent + +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 ``` \ No newline at end of file diff --git a/install.sh b/install.sh index 041a172..be7430e 100755 --- a/install.sh +++ b/install.sh @@ -5,7 +5,7 @@ set -e # Check if running as root if [ "$EUID" -ne 0 ]; then - print_error "Please run this script as root (use sudo)" + echo "Please run this script as root (use sudo)" exit 1 fi