mirror of
https://github.com/MHA-Team/PTS-Team.git
synced 2026-02-19 20:42:29 +00:00
45 lines
2.0 KiB
Bash
45 lines
2.0 KiB
Bash
#!/bin/bash
|
|
#
|
|
# Title: PGBlitz (Reference Title File)
|
|
# Author(s): Admin9705 - Deiteq
|
|
# URL: https://pgblitz.com - http://github.pgblitz.com
|
|
# GNU: General Public License v3.0
|
|
################################################################################
|
|
# Menu Interface
|
|
tee <<-EOF
|
|
|
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
📂 Cloud Service Installer
|
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
[ 1 ] Cloud Instance: Google [ Blitz ~ GCE Edition ]
|
|
[ 2 ] Cloud Instance: Hetzner
|
|
|
|
[Z] - Exit
|
|
|
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
EOF
|
|
|
|
# Standby
|
|
read -p 'Type a Number | Press [ENTER]: ' typed </dev/tty
|
|
|
|
if [ "$typed" == "1" ]; then
|
|
echo gce >/var/plexguide/type.choice
|
|
bash /opt/plexguide/menu/pgcloner/blitzgce.sh
|
|
elif [ "$typed" == "2" ]; then
|
|
bash /opt/plexguide/menu/hcloud/hcloud.sh
|
|
elif [ "$typed" == "Z" ] || [ "$typed" == "z" ]; then
|
|
exit
|
|
else
|
|
tee <<-EOF
|
|
|
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
⛔️ WARNING! - Please Make a Valid Selection!
|
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
EOF
|
|
|
|
bash /opt/plexguide/menu/cloudselect/cloudselect.sh
|
|
exit
|
|
fi
|