init.c: plymouth --newroot=/root call added
This commit is contained in:
parent
9e192f61c4
commit
c34b06f4ea
3
init.c
3
init.c
@ -516,6 +516,9 @@ int main(int argc, char **argv)
|
|||||||
if (chdir(STAGE2_LOCATION))
|
if (chdir(STAGE2_LOCATION))
|
||||||
fatal("chdir to new root");
|
fatal("chdir to new root");
|
||||||
|
|
||||||
|
char * plymouth[] = { "/bin/plymouth", "plymouth", "--newroot=/root", NULL };
|
||||||
|
spawn(plymouth);
|
||||||
|
|
||||||
/* This is a potentially highly destructive program. Take some
|
/* This is a potentially highly destructive program. Take some
|
||||||
extra precautions. */
|
extra precautions. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user