initscripts/olpc-xstartup.patch
C. Scott Ananian abf189152c Unfreeze DCON after failed X start, and fail more quickly when there are
problems.
Change default runlevel to 5 (replacing an uglier patch to do this in our
    image creation tool).
Remove a redundant udev console initialization which causes the screen to
    flash during prettyboot (dlo trac #3569). This replaces an uglier patch
    to do this in our image creation tool.
Set up keymap when hal sees an OLPC keyboard. This replaces an uglier patch
    in our image creation tool.
2008-07-24 16:59:03 +00:00

14 lines
397 B
Diff

--- initscripts-8.76.2/event.d/prefdm.orig 2008-07-23 19:34:18.000000000 -0400
+++ initscripts-8.76.2/event.d/prefdm 2008-07-23 19:35:13.000000000 -0400
@@ -8,5 +8,10 @@
console output
respawn
-respawn limit 10 120
+respawn limit 3 120
exec /usr/sbin/olpc-dm
+
+# make sure dcon is unfrozen if something goes wrong.
+post-stop script
+ echo 0 > /sys/devices/platform/dcon/freeze
+end script