Files
PTS-Team/menu/interface/cloudselect.sh
MrDoobPG 26a27e470b ini
2019-11-29 19:14:15 +01:00

38 lines
1.4 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
question1(){
tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📂 Cloud Service Installer
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[ 1 ] Cloud Instance: Google [ Blitz ~ GCE Edition ]
[ 2 ] Cloud Instance: Hetzner
[ Z ] - Exit
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
EOF
read -p '↘️ Type Number | Press [ENTER]: ' typed </dev/tty
case $typed in
1) echo gce >/var/plexguide/type.choice && bash /opt/plexguide/menu/pgcloner/blitzgce.sh ;;
2) bash /opt/plexguide/menu/hcloud/hcloud.sh ;;
z) exit ;;
Z) exit ;;
*) question1 ;;
esac
}
##### layout build
question1