summaryrefslogtreecommitdiff
path: root/src/user/app/init/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/init/init.c')
-rw-r--r--src/user/app/init/init.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/user/app/init/init.c b/src/user/app/init/init.c
index 4e2a668..9e7ab7b 100644
--- a/src/user/app/init/init.c
+++ b/src/user/app/init/init.c
@@ -31,8 +31,11 @@ int main(void) {
MOUNT_AT("/tmp/") { tmpfs_drv(); }
MOUNT_AT("/keyboard") { ps2_drv(); }
- MOUNT_AT("/vtty") { ansiterm_drv(); }
MOUNT_AT("/bin/") { fs_passthru("/init/bin"); }
+ MOUNT_AT("/vtty") {
+ const char *argv[] = {"/bin/vterm", NULL};
+ execv(argv[0], (void*)argv);
+ }
if (fork()) {
/* used to trigger a kernel bug