mirror of
https://github.com/MHA-Team/PTS-Team.git
synced 2026-02-14 10:22:04 +00:00
58 lines
1.8 KiB
Bash
58 lines
1.8 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
|
|
################################################################################
|
|
source /opt/plexguide/menu/functions/functions.sh
|
|
# Menu Interface
|
|
question1() {
|
|
tee <<-EOF
|
|
|
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
📂 System & Network Auditor
|
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
[1] System & Network Benchmark - Basic
|
|
[2] System & Network Benchmark - Advanced
|
|
|
|
[3] Simple SpeedTest
|
|
|
|
[Z] Exit
|
|
|
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
EOF
|
|
|
|
# Standby
|
|
read -p '↘️ Type Number | Press [ENTER]: ' typed </dev/tty
|
|
|
|
case $typed in
|
|
1)
|
|
sudo wget -qO- bench.sh | bash
|
|
echo ""
|
|
read -p '🌍 Process Complete | Press [ENTER] ' typed </dev/tty
|
|
question1
|
|
;;
|
|
2)
|
|
clear
|
|
echo ""
|
|
curl -LsO git.io/bench.sh; chmod +x bench.sh && ./bench.sh -a
|
|
echo ""
|
|
read -p '🌍 Process Complete | Press [ENTER] ' typed </dev/tty
|
|
question1
|
|
;;
|
|
3)
|
|
curl -LsO git.io/bench.sh; chmod +x bench.sh && ./bench.sh -speed
|
|
echo ""
|
|
read -p '🌍 Process Complete | Press [ENTER] ' typed </dev/tty
|
|
question1 ;;
|
|
z) exit ;;
|
|
Z) exit ;;
|
|
*) question1 ;;
|
|
esac
|
|
}
|
|
|
|
question1
|