Skip to content

Commit

Permalink
dupe finder layout
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Nov 20, 2019
1 parent 278e4d7 commit 0e33fa5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
7 changes: 4 additions & 3 deletions menu/pgscan/pgscan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ EOF

# FIRST QUESTION
question1() {

userstatus
tokenstatus
deploycheck
tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Expand All @@ -169,11 +171,10 @@ NOTE : Plex_AutoScan are located in /opt/plex_autoscan
[2] Deploy Plex Token [ $pstatus ]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[A] Deploy Scan [ $dstatus ]
[D] PlexAutoScan Domain
[S] Show last 50 lines of log
[C] Credits
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Expand Down
9 changes: 6 additions & 3 deletions menu/plex_dupe/plex_dupe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ touch /var/plex_dupe/plex.pw
touch /var/plex_dupe/plex.user
touch /var/plex_dupe/plex.token
touch /var/plex_dupe/plex.authdel
echo -e "1" >/var/plex_dupe/plex.authdel

# FUNCTIONS START ##############################################################
variable() {
Expand Down Expand Up @@ -45,7 +44,7 @@ tokenstatus() {
else pstatus="⚠️ NOT DEPLOYED"; fi
}

adel() {
automodestatus() {
adep=$(cat /var/plex_dupe/plex.authdel)
if [ "$adep" == "true" ]; then
astatus="✅ AUTO_DELETE = true"
Expand Down Expand Up @@ -192,6 +191,10 @@ EOF

# FIRST QUESTION
question1() {
userstatus
automodestatus
tokenstatus
deploycheck

tee <<-EOF
Expand Down Expand Up @@ -261,7 +264,7 @@ EOF
# FUNCTIONS END ##############################################################
plexcheck
userstatus
adel
automodestatus
tokenstatus
deploycheck
question1

0 comments on commit 0e33fa5

Please sign in to comment.