init.c: plymouth --newroot=/root call added

This commit is contained in:
Anton V. Boyarshinov 2010-12-01 14:53:42 +03:00
parent 9e192f61c4
commit c34b06f4ea

3
init.c
View File

@ -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. */