mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +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
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
|
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
|
Vector<NonnullOwnPtr<KString>> CommandLine::userspace_init_args() const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue