Skip to content

Commit

Permalink
flip icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Baker committed Feb 18, 2019
1 parent f6360ea commit cdf70e5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions menu/pgui/mountcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ do

# GDrive
if [[ $(rclone lsd --config /opt/appdata/plexguide/rclone.conf gdrive: | grep "\<plexguide\>") == "" ]]; then
echo "Not Operational ⚠️"> /var/plexguide/pg.gdrive; else echo "Operational ✅ " > /var/plexguide/pg.gdrive; fi
echo "🔴 Not Operational "> /var/plexguide/pg.gdrive; else echo "✅ Operational " > /var/plexguide/pg.gdrive; fi

if [[ $(ls -la /mnt/gdrive | grep "plexguide") == "" ]]; then
echo "Not Operational ⚠️"> /var/plexguide/pg.gmount; else echo "Operational ✅" > /var/plexguide/pg.gmount; fi
echo "🔴 Not Operational"> /var/plexguide/pg.gmount; else echo "✅ Operational" > /var/plexguide/pg.gmount; fi

# TDrive
if [[ $(rclone lsd --config /opt/appdata/plexguide/rclone.conf tdrive: | grep "\<plexguide\>") == "" ]]; then
echo "Not Operational ⚠️"> /var/plexguide/pg.tdrive; else echo "Operational ✅" > /var/plexguide/pg.tdrive; fi
echo "🔴 Not Operational"> /var/plexguide/pg.tdrive; else echo "✅ Operational" > /var/plexguide/pg.tdrive; fi

if [[ $(ls -la /mnt/tdrive | grep "plexguide") == "" ]]; then
echo "Not Operational ⚠️"> /var/plexguide/pg.tmount; else echo "Operational ✅" > /var/plexguide/pg.tmount; fi
echo "🔴 Not Operational "> /var/plexguide/pg.tmount; else echo "✅ Operational" > /var/plexguide/pg.tmount; fi

# Union
if [[ $(rclone lsd --config /opt/appdata/plexguide/rclone.conf pgunion: | grep "\<plexguide\>") == "" ]]; then
echo "Not Operational ⚠️"> /var/plexguide/pg.union; else echo "Operational ✅" > /var/plexguide/pg.union; fi
echo "🔴 Not Operational "> /var/plexguide/pg.union; else echo "✅ Operational" > /var/plexguide/pg.union; fi

if [[ $(ls -la /mnt/unionfs | grep "plexguide") == "" ]]; then
echo "Not Operational ⚠️"> /var/plexguide/pg.umount; else echo "Operational ✅ " > /var/plexguide/pg.umount; fi
echo "🔴 Not Operational "> /var/plexguide/pg.umount; else echo "✅ Operational " > /var/plexguide/pg.umount; fi

# Disk Calculations - 4000000 = 4GB

Expand Down

0 comments on commit cdf70e5

Please sign in to comment.