seperate install and get scripts...
This commit is contained in:
parent
c4ad943223
commit
f12dbf687d
@ -33,7 +33,7 @@ Secure AlmaLinux (RHEL) Server setup with LUKS encryption, Tang, TPM and RAID1 f
|
||||
Boot your Hetzner server into rescue mode and run:
|
||||
|
||||
```bash
|
||||
wget -qO- https://git.dominik-roth.eu/dodox/nullpoint/raw/branch/master/install.sh | bash
|
||||
wget -qO- https://git.dominik-roth.eu/dodox/nullpoint/raw/branch/master/get.sh | bash
|
||||
```
|
||||
|
||||
The installer will:
|
||||
|
14
get.sh
Normal file
14
get.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
# Simple installer for nullpoint - just downloads and runs
|
||||
# Usage: wget -qO- https://git.dominik-roth.eu/dodox/nullpoint/raw/branch/master/get.sh | bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# Clean up any existing directory
|
||||
[ -d "/tmp/nullpoint_installer" ] && rm -rf /tmp/nullpoint_installer
|
||||
|
||||
# Clone and run
|
||||
echo "[+] Downloading nullpoint installer..."
|
||||
git clone https://git.dominik-roth.eu/dodox/nullpoint.git /tmp/nullpoint_installer
|
||||
cd /tmp/nullpoint_installer
|
||||
exec bash install.sh
|
10
install.sh
10
install.sh
@ -1,17 +1,9 @@
|
||||
#!/bin/bash
|
||||
# nullpoint installer - run this from Hetzner rescue mode
|
||||
# wget -qO- https://git.dominik-roth.eu/dodox/nullpoint/raw/branch/master/install.sh | bash
|
||||
# Use get.sh for wget piping: wget -qO- https://git.dominik-roth.eu/dodox/nullpoint/raw/branch/master/get.sh | bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# If we're being piped, download the full repo and run from there
|
||||
if [ ! -t 0 ]; then
|
||||
echo "[+] Downloading nullpoint installer..."
|
||||
git clone https://git.dominik-roth.eu/dodox/nullpoint.git /tmp/nullpoint_installer
|
||||
cd /tmp/nullpoint_installer
|
||||
exec bash install.sh
|
||||
fi
|
||||
|
||||
BANNER=$(cat << "EOF"
|
||||
:^7J5GB##&&##GPY?~:
|
||||
^75B&@@@@@@&&&@@@@@@@#GJ~:
|
||||
|
Loading…
Reference in New Issue
Block a user