diff options
author | dzwdz | 2022-07-26 22:54:28 +0200 |
---|---|---|
committer | dzwdz | 2022-07-26 22:54:28 +0200 |
commit | d7767be24bdcc0101c2ba08c03600b9f3c608663 (patch) | |
tree | 2ce6cb96fafad4814ad73c15ec32b702d3882280 /src/user/bootstrap | |
parent | 4aee2f759ab7bf2ad9534941afef0195040ba5db (diff) |
user/shell: automatically execute binaries in /bin/
Diffstat (limited to 'src/user/bootstrap')
-rw-r--r-- | src/user/bootstrap/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/bootstrap/main.c b/src/user/bootstrap/main.c index 089fd68..9c08023 100644 --- a/src/user/bootstrap/main.c +++ b/src/user/bootstrap/main.c @@ -24,7 +24,7 @@ void _start(void) { MOUNT("/init/", tar_driver(&_initrd)); - void *init = tar_find("init.elf", 8, &_initrd, ~0) + 512; + void *init = tar_find("bin/init", 8, &_initrd, ~0) + 512; if (init) { _klogf("execing init.elf"); elf_exec(init); |