diff options
Diffstat (limited to 'usr.sbin/init/main.c')
-rw-r--r-- | usr.sbin/init/main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/init/main.c b/usr.sbin/init/main.c index 754b98e..4a7176c 100644 --- a/usr.sbin/init/main.c +++ b/usr.sbin/init/main.c @@ -28,6 +28,7 @@ */ #include <stdio.h> +#include "mshell.h" #define VERSION "v0.0.1" @@ -43,7 +44,11 @@ int main(int argc, char **argv) { loginfo("Hyra init " VERSION " loaded\n"); - loginfo("Hello, World!\n"); + loginfo("Dropping into maintenance shell...\n"); + + if (mshell_enter() != 0) + loginfo("Failed to launch mshell!\n"); + loginfo("** EXITING 0 **\n"); return 0; } |