mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Kernel: Switch init boot argument to "/init"
This doesn't affect system functionality, but somewhat reduces the reliance on complicated hardcoded paths. It also allows the user to simply link /init (which is normally a symbolic link) to another program to run it instead of SystemServer as the default option.
This commit is contained in:
parent
4a50c01c50
commit
c3d28d7f5a
Notes:
sideshowbarker
2024-07-17 23:02:37 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/c3d28d7f5a Pull-request: https://github.com/SerenityOS/serenity/pull/21633 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/shannonbooth ✅
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ UNMAP_AFTER_INIT CommandLine::GraphicsSubsystemMode CommandLine::graphics_subsys
|
|||
|
||||
StringView CommandLine::userspace_init() const
|
||||
{
|
||||
return lookup("init"sv).value_or("/bin/SystemServer"sv);
|
||||
return lookup("init"sv).value_or("/init"sv);
|
||||
}
|
||||
|
||||
Vector<NonnullOwnPtr<KString>> CommandLine::userspace_init_args() const
|
||||
|
|
Loading…
Reference in a new issue