Add /rescue/init to the default init_path, before /stand/sysinstall.

MFC after:	2 weeks
This commit is contained in:
des 2005-02-17 10:00:10 +00:00
parent 627a049bbf
commit 627292879c
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ module_path="/boot/modules" # Set the module search path
#boot_serial="" # Use serial console
#boot_single="" # Start system in single-user mode
#boot_verbose="" # Causes extra debugging information to be printed
#init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall"
#init_path="/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init:/stand/sysinstall"
# Sets the list of init candidates

View File

@ -493,7 +493,7 @@ static char init_path[MAXPATHLEN] =
#ifdef INIT_PATH
__XSTRING(INIT_PATH);
#else
"/sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall";
"/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init:/stand/sysinstall";
#endif
SYSCTL_STRING(_kern, OID_AUTO, init_path, CTLFLAG_RD, init_path, 0,
"Path used to search the init process");