From: Ray Strode Date: Mon, 25 Feb 2013 19:39:25 +0000 (-0500) Subject: main: all update-root-fs for shutdown X-Git-Tag: 0.9.0~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59d78b4427bbbf95d846bb79307c8d11174bfae7;p=thirdparty%2Fplymouth.git 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. --- 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(".");