Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorBernie Innocenti <bernie@codewiz.org>2010-04-21 19:43:22 (GMT)
committer Bernie Innocenti <bernie@codewiz.org>2010-04-21 19:43:22 (GMT)
commitf1a3cf6c9119a57f1955d742c45cc14dd5792a87 (patch)
tree8ed161aee24d0e537b9b294da24846bc31acdf89 /modules
parentabfcd9e1c3aabad559dfb3a379da5ba4cefeeaa3 (diff)
Fix code to disable automatic suspend in powerd
Diffstat (limited to 'modules')
-rw-r--r--modules/sugar/kspost.50.gconf.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/sugar/kspost.50.gconf.inc b/modules/sugar/kspost.50.gconf.inc
index 8711098..2a01cd3 100644
--- a/modules/sugar/kspost.50.gconf.inc
+++ b/modules/sugar/kspost.50.gconf.inc
@@ -12,8 +12,9 @@ gconftool-2 --direct --config-source xml:readwrite:/home/olpc/.gconf -s -t bool
chown -R olpc:olpc /home/olpc/.gconf
# same for powerd
+mkdir -p /etc/powerd/flags
> /etc/powerd/flags/inhibit-suspend
-chown olpc:olpc /etc/powerd/flags/inhibit-suspend
+chown -R olpc:olpc /etc/powerd/flags
# set empty jabber server so that no gabble connection is attempted by default
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set /desktop/sugar/collaboration/jabber_server ''