summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config/systemconfig.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/LinHES-config/systemconfig.sh')
-rwxr-xr-xabs/core-testing/LinHES-config/systemconfig.sh19
1 files changed, 6 insertions, 13 deletions
diff --git a/abs/core-testing/LinHES-config/systemconfig.sh b/abs/core-testing/LinHES-config/systemconfig.sh
index 07ca7c6..16c51f3 100755
--- a/abs/core-testing/LinHES-config/systemconfig.sh
+++ b/abs/core-testing/LinHES-config/systemconfig.sh
@@ -738,9 +738,9 @@ fi
if [ x$XScreensaver = x1 ]
then
- ser_install="xscreensaver $ser_install"
+ ser_install="gnome-screensaver $ser_install"
else
- ser_remove="xscreensaver $ser_remove"
+ ser_remove="gnome-screensaver $ser_remove"
fi
@@ -1085,26 +1085,19 @@ function setup_web_auth {
function setupXscreensaver {
#copy in template
- if [ -f /home/mythtv/.xscreensaver ]
- then
- echo "Xscreensaver already configured"
- else
- #copy in template
- cp $TEMPLATES/xscreensaver.template /home/mythtv/.xscreensaver
- chown mythtv:users /home/mythtv/.xscreensaver
- fi
+
#start it if not already running.
if [ x$XScreensaver = x1 ]
then
#check if it's running, it not start it.
if [ ! x$MV_NEW_INSTALL = "xtrue" ]
then
- su - mythtv -c "/usr/bin/xscreensaver -nosplash &"
+ su - mythtv -c "/usr/bin/gnome-screensaver "
fi
else
#kill it
- xscreensaver-command -exit &
- killall xscreensaver &
+ gnome-screensaver-command --exit &
+ killall gnome-screensaver &
fi