From 59d78b4427bbbf95d846bb79307c8d11174bfae7 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 25 Feb 2013 14:39:25 -0500 Subject: [PATCH] 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. --- src/main.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main.c b/src/main.c index 6ceb27a4..5ce34a33 100644 --- a/src/main.c +++ b/src/main.c @@ -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(".");