Module Name: src
Committed By: apb
Date: Wed Oct 2 21:38:55 UTC 2013
Modified Files:
src/sys/kern: init_main.c
Log Message:
Add "/rescue/init" to the end of the initpaths list, which
now contains: { "/sbin/init", "/sbin/oinit", "/sbin/init.bak",
"/rescue/init", NULL }.
XXX: The kernel's use of initpaths is not documented.
To generate a diff of this commit:
cvs rdiff -u -r1.453 -r1.454 src/sys/kern/init_main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/init_main.c
diff -u src/sys/kern/init_main.c:1.453 src/sys/kern/init_main.c:1.454
--- src/sys/kern/init_main.c:1.453 Wed Aug 28 12:50:18 2013
+++ src/sys/kern/init_main.c Wed Oct 2 21:38:55 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: init_main.c,v 1.453 2013/08/28 12:50:18 riastradh Exp $ */
+/* $NetBSD: init_main.c,v 1.454 2013/10/02 21:38:55 apb Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.453 2013/08/28 12:50:18 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.454 2013/10/02 21:38:55 apb Exp $");
#include "opt_ddb.h"
#include "opt_ipsec.h"
@@ -902,6 +902,7 @@ static const char * const initpaths[] =
"/sbin/init",
"/sbin/oinit",
"/sbin/init.bak",
+ "/rescue/init",
NULL,
};