summaryrefslogtreecommitdiff
path: root/packages/openmoko-system
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@openmoko.org>2008-10-08 13:10:04 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2008-11-16 00:37:28 +0100
commit4934f324c33a9033f338102e5c0c213c1c199b15 (patch)
treedd0a8dafa502be63f098659e7e742cbee5e6d68e /packages/openmoko-system
parentcda3a17160c6660c9cf1f444c86979da43bf0e9a (diff)
ompower: Ompower executes xset and needs to find the display
For Openmoko we know it is going to be :0 so let us set it so it can reset the screensaver.
Diffstat (limited to 'packages/openmoko-system')
-rwxr-xr-xpackages/openmoko-system/ompower/openmoko/ompower-init7
-rw-r--r--packages/openmoko-system/ompower_git.bb2
2 files changed, 8 insertions, 1 deletions
diff --git a/packages/openmoko-system/ompower/openmoko/ompower-init b/packages/openmoko-system/ompower/openmoko/ompower-init
new file mode 100755
index 0000000000..0b36867b4d
--- /dev/null
+++ b/packages/openmoko-system/ompower/openmoko/ompower-init
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+. /etc/init.d/functions
+
+# xset need to be able to reach our display
+export DISPLAY=:0
+ompower &
diff --git a/packages/openmoko-system/ompower_git.bb b/packages/openmoko-system/ompower_git.bb
index be3e7bf103..ff16910901 100644
--- a/packages/openmoko-system/ompower_git.bb
+++ b/packages/openmoko-system/ompower_git.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Openmoko Power State handling daemon via DBUS"
LICENSE = "MIT BSD"
DEPENDS = "ecore edbus"
PV = "0.0.0+svnr${SRCREV}"
-PR = "r2"
+PR = "r3"
RDEPENDS = "initscripts"
SRCNAME = "ompower"