Skip to content

Commit

Permalink
Update pgscan.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Dec 24, 2019
1 parent 937d31d commit d53f9c3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions menu/pgscan/pgscan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@ tokenstatus() {
else pstatus="⚠️ NOT DEPLOYED"; fi
}

plexdockeruser() {
plexdocker=$(docker ps --format {{.Image}} | grep "linuxserver/plex")
if [[ $plexdocker == "linuxserver/plex:latest" || $plexdocker == "linuxserver/plex" ]]; then
echo "abc" >/var/plexguide/pgscan/plex.docker
else echo "plex" >/var/plexguide/pgscan/plex.docker; fi
}
# plexdockeruser() {
# plexdocker=$(docker ps --format {{.Image}} | grep "linuxserver/plex")
# if [[ $plexdocker == "linuxserver/plex:latest" || $plexdocker == "linuxserver/plex" ]]; then
# echo "abc" >/var/plexguide/pgscan/plex.docker
# else echo "plex" >/var/plexguide/pgscan/plex.docker; fi
# plexdockeruser
# }

plexcheck() {
pcheck=$(docker ps --format {{.Names}} | grep "plex")
Expand Down Expand Up @@ -231,7 +232,6 @@ EOF
}
# FUNCTIONS END ##############################################################
passtartfirst
plexdockeruser
userstatus
tokenstatus
deploycheck
Expand Down

0 comments on commit d53f9c3

Please sign in to comment.