summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 43142ec..81ddcb5 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -46,10 +46,8 @@
#if defined(_INSTALL_MEDIA)
#define _START_PATH "/usr/sbin/install"
-#define _START_ARG NULL
#else
-#define _START_PATH "/usr/bin/osh"
-#define _START_ARG "/usr/rc/init.rc"
+#define _START_PATH "/usr/sbin/init"
#endif /* _INSTALL_MEDIA */
struct proc g_proc0;
@@ -66,7 +64,7 @@ start_init(void)
{
struct proc *td = this_td();
struct execve_args execve_args;
- char *argv[] = { _START_PATH, _START_ARG, NULL };
+ char *argv[] = { _START_PATH, NULL, NULL };
char *envp[] = { NULL };
execve_args.pathname = argv[0];