Compare commits

...

2 Commits

Author SHA1 Message Date
a828100878 dropshell release 2025.0514.2226
Some checks failed
Dropshell Test / Build_and_Test (push) Has been cancelled
2025-05-14 22:26:45 +12:00
fcc517a115 dropshell release 2025.0514.2225
Some checks failed
Dropshell Test / Build_and_Test (push) Has been cancelled
2025-05-14 22:25:20 +12:00
2 changed files with 12 additions and 1 deletions

View File

@ -4,6 +4,14 @@ A system management tool for server operations, written in C++.
## Installation ## 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 curl -fsSL https://gitea.jde.nz/public/dropshell/releases/download/latest/install.sh | bash
``` ```

View File

@ -5,7 +5,7 @@ set -e
# Check if running as root # Check if running as root
if [ "$EUID" -ne 0 ]; then 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 exit 1
fi fi
@ -40,6 +40,9 @@ fi
chmod +x "$TMPDIR/dropshell" chmod +x "$TMPDIR/dropshell"
cp "$TMPDIR/dropshell" /usr/local/bin/dropshell cp "$TMPDIR/dropshell" /usr/local/bin/dropshell
if [ -f /usr/local/bin/ds ]; then
rm -f /usr/local/bin/ds
fi
ln -s /usr/local/bin/dropshell /usr/local/bin/ds ln -s /usr/local/bin/dropshell /usr/local/bin/ds
rm -rf "$TMPDIR" rm -rf "$TMPDIR"