summaryrefslogtreecommitdiff
path: root/packages/kexecboot/kexecboot-0.4/switch-cursor-off.patch
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2009-01-27 00:25:39 +0100
committerAndrea Adami <andrea.adami@gmail.com>2009-01-27 23:26:25 +0100
commitddf9f35be9bfd945bfeb5b12b767142b1ac3d786 (patch)
treea505bfc34c173717e98768ce43f6e20ca34c8042 /packages/kexecboot/kexecboot-0.4/switch-cursor-off.patch
parent40c87872fcb4c437f5de9eb227eb3efd8b36f613 (diff)
kexecboot: add new (beta) release 0.4 and add patches from upstream
Diffstat (limited to 'packages/kexecboot/kexecboot-0.4/switch-cursor-off.patch')
-rw-r--r--packages/kexecboot/kexecboot-0.4/switch-cursor-off.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/kexecboot/kexecboot-0.4/switch-cursor-off.patch b/packages/kexecboot/kexecboot-0.4/switch-cursor-off.patch
new file mode 100644
index 0000000000..632cc6a01c
--- /dev/null
+++ b/packages/kexecboot/kexecboot-0.4/switch-cursor-off.patch
@@ -0,0 +1,11 @@
+--- a/kexecboot.c
++++ b/kexecboot.c
+@@ -512,6 +512,9 @@ int main(int argc, char **argv)
+ DPRINTF("FB angle is %d, input device is %s\n", angle, eventif);
+ DPRINTF("Going to fb mode\n");
+
++ /* Switch cursor off. NOTE: works only when master-console is tty */
++ printf("\033[?25l\n");
++
+ if ((fb = fb_new(angle)) == NULL)
+ exit(-1);