reinstall_newt.sh aktualisiert

This commit is contained in:
2025-08-05 23:56:36 +02:00
parent 0b5376899b
commit ec14200ef9

View File

@@ -66,9 +66,12 @@ cleanup_old_versions() {
} }
setup_systemd_service() { setup_systemd_service() {
read -rp "🆔 Bitte gib die Pangolin-ID ein: " PANGOLIN_ID </dev/tty # Erzwinge interaktive Eingabe über das Terminal
read -rp "🔑 Bitte gib das Secret ein: " PANGOLIN_SECRET </dev/tty exec < /dev/tty
read -rp "🌐 Bitte gib den Endpoint (z.B. https://pangolin.domain.de) ein: " PANGOLIN_ENDPOINT </dev/tty
read -rp "🆔 Bitte gib die Pangolin-ID ein: " PANGOLIN_ID
read -rp "🔑 Bitte gib das Secret ein: " PANGOLIN_SECRET
read -rp "🌐 Bitte gib den Endpoint (z.B. https://pangolin.domain.de) ein: " PANGOLIN_ENDPOINT
cat <<EOF > "$SERVICE_FILE" cat <<EOF > "$SERVICE_FILE"
[Unit] [Unit]