diff options
Diffstat (limited to 'apps/init.c')
-rw-r--r-- | apps/init.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/apps/init.c b/apps/init.c index 89d446b..de87798 100644 --- a/apps/init.c +++ b/apps/init.c @@ -11,14 +11,8 @@ void main(struct vbe *vbe) { print("Init loaded.\n"); - printf("VBE: %dx%d\n", vbe->width, vbe->height); + int a = exec("/wm", vbe); - const u32 color[3] = { 0, 0, 0 }; - vesa_fill(vbe, color); - gui_init("/font/spleen-16x32.psfu"); - gui_term_write(vbe, "hallo"); - - /* exec("/a"); */ - /* exec("/b"); */ - exit(); + if (a) + exit(); } |