Skip to content

Commit

Permalink
Update settings.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Oct 19, 2019
1 parent 6c8bc3d commit 899384e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions menu/interface/settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ source /opt/plexguide/menu/functions/install.sh
# Menu Interface
setstart() {
### executed parts
pguistatus=$(docker ps --format '{{.Names}}' | grep "pgui")
if [ "pguidstatus" != "" ]; then
echo "Off" >/var/plexguide/pgui.switch
dstatus=$(docker ps --format '{{.Names}}' | grep "pgui")
if [ "$dstatus" != "pgui" ]; then
echo "On" >/var/plexguide/pgui.switch
fi

# Declare Ports State
Expand Down Expand Up @@ -83,7 +83,6 @@ EOF
rm -f /etc/systemd/system/mountcheck.service
else
echo "On" >/var/plexguide/pgui.switch
bash /opt/plexguide/menu/pgcloner/solo/pgui.sh
ansible-playbook /opt/coreapps/apps/pgui.yml
systemctl daemon-reload
service localspace start
Expand Down

0 comments on commit 899384e

Please sign in to comment.