mirror of
https://github.com/MHA-Team/PTS-Team.git
synced 2026-02-14 18:32:02 +00:00
add nvidia docker role ( CBOX clone ) add uichange add nvidia docker part layout remove one line ( not needed anymore ) update plex.sh for reading the vlaues for LSIO PLEX docker edit pg.yml for docker role nvidia edit pas to rad the docker file plex or lsio
31 lines
1.2 KiB
Bash
31 lines
1.2 KiB
Bash
#!/bin/bash
|
|
#
|
|
# Title: PTS Settings Layout
|
|
# Mode from MrDoob for PTS
|
|
# URL: https://pgblitz.com - http://github.pgblitz.com
|
|
# GNU: General Public License v3.0
|
|
################################################################################
|
|
|
|
nvidia() {
|
|
tee <<-EOF
|
|
|
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
📂 System & Network Auditor
|
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
[1] Install NVIDIA Docker role
|
|
|
|
[Z] Exit
|
|
|
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
|
|
EOF
|
|
read -p '↘️ Type Number | Press [ENTER]: ' typed </dev/tty
|
|
|
|
case $typed in
|
|
1) ansible-playbook /opt/plexguide/menu/pg.yml --tags nvidia ;;
|
|
z) exit && setstart ;;
|
|
Z) exit && setstart ;;
|
|
*) setstart ;;
|
|
esac
|
|
} |