Skip to content

Commit

Permalink
Update gtused.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Dec 2, 2019
1 parent 78fc4ee commit cef1b1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions menu/pgui/templates/gtused.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ if grep -q "gdrive:" $config; then
else echo "🔴 NOT DEPLOYED" $log/gduncrypt.log; fi

sleep 2

if grep -q "tdrive:" $config; then
rm -f $log/tduncrypt.log && touch $log/tduncrypt.log
rclone size tdrive: \
Expand All @@ -41,6 +42,7 @@ if grep -q "tdrive:" $config; then
else echo "🔴 NOT DEPLOYED" $log/tduncrypt.log; fi

sleep 2

if grep -q "gcrypt:" $config; then
rm -f $log/gdcrypt.log && touch $log/gdcrypt.log
rclone size gcrypt: \
Expand All @@ -53,7 +55,9 @@ if grep -q "gcrypt:" $config; then
--config /opt/appdata/plexguide/rclone.conf | awk '{print $3,$4}' >>$log/gdcrypt.log
sed -i 's/Total size: / /g' $log/gdcrypt.log
else echo "🔴 NOT DEPLOYED" $log/gdcrypt.log; fi

sleep 2

if grep -q "tcrypt:" $config; then
rm -f $log/tdcrypt.log && touch $log/tdcrypt.log
rclone size tcrypt: \
Expand Down

0 comments on commit cef1b1c

Please sign in to comment.