summaryrefslogtreecommitdiffstats
path: root/abs/extra/plex-home-theater/plexhometheater.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/plex-home-theater/plexhometheater.sh')
-rwxr-xr-xabs/extra/plex-home-theater/plexhometheater.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/abs/extra/plex-home-theater/plexhometheater.sh b/abs/extra/plex-home-theater/plexhometheater.sh
index 53276ff..579bed6 100755
--- a/abs/extra/plex-home-theater/plexhometheater.sh
+++ b/abs/extra/plex-home-theater/plexhometheater.sh
@@ -1,5 +1,11 @@
#!/bin/sh
+#Stop XScreensaver
+stop_xss.sh &
+#Launch plex
export XBMC_BIN_HOME='/usr/lib/plexhometheater'
export XBMC_HOME='/usr/share/plexhometheater'
-exec plexhometheater
+plexhometheater
+
+#Start Xscreensaver again
+killall stop_xss.sh