Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Add "/rescue/init" to the end of the initpaths list...



details:   https://anonhg.NetBSD.org/src/rev/9d9abf50a50d
branches:  trunk
changeset: 790298:9d9abf50a50d
user:      apb <apb%NetBSD.org@localhost>
date:      Wed Oct 02 21:38:55 2013 +0000

description:
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.

diffstat:

 sys/kern/init_main.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 85917c7710f5 -r 9d9abf50a50d sys/kern/init_main.c
--- a/sys/kern/init_main.c      Wed Oct 02 20:42:56 2013 +0000
+++ b/sys/kern/init_main.c      Wed Oct 02 21:38:55 2013 +0000
@@ -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 @@
        "/sbin/init",
        "/sbin/oinit",
        "/sbin/init.bak",
+       "/rescue/init",
        NULL,
 };
 



Home | Main Index | Thread Index | Old Index