Add /rescue/init to the default init_path, before /stand/sysinstall.
MFC after: 2 weeks
This commit is contained in:
parent
627a049bbf
commit
627292879c
@ -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
|
||||
|
||||
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user