From ce905f1a36b7c9f7ad09ebb5676cf6f9fad37e81 Mon Sep 17 00:00:00 2001 From: antifallobst Date: Tue, 2 May 2023 00:44:20 +0200 Subject: [PATCH] feature (shell): starting shell on startup --- src/boot/kmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/kmain.c b/src/boot/kmain.c index 09bf724..2b0eaf2 100644 --- a/src/boot/kmain.c +++ b/src/boot/kmain.c @@ -64,7 +64,7 @@ void kmain(boot_info_T boot_info) { log(LOG_INFO, "!=====[ Kernel Initialized ]=====!\n"); - void* buffer = vfs_resolve_path(&g_root_fs, "/initrd/test.elf")->cache->buffer; + void* buffer = vfs_resolve_path(&g_root_fs, "/initrd/shell.elf")->cache->buffer; elf_executable_T* exec = elf_executable_create(buffer); pid_t proc = process_spawn(PROCESS_KERNEL, "shell", exec, buffer);