main: all update-root-fs for shutdown

Some distros now switch root back to the initrd at shutdown.

This commit allows plymouth to go along for the ride.
This commit is contained in:
Ray Strode 2013-02-25 14:39:25 -05:00
parent 5ee5644f6c
commit 59d78b4427

View file

@ -589,12 +589,6 @@ static void
on_newroot (state_t *state,
const char *root_dir)
{
if (state->mode != PLY_MODE_BOOT)
{
ply_trace ("new root is only supported in boot mode ");
return;
}
ply_trace ("new root mounted at \"%s\", switching to it", root_dir);
chdir(root_dir);
chroot(".");