Commit 391c5224 authored by Mike Hibler's avatar Mike Hibler
Browse files

When doing a "reset", reverse the order of the scripts.

This is when we are cleaning up to make an image. Seems like the correct
thing to do is process the startup scripts in reverse order like we do for
a "shutdown". Mostly this doesn't matter, but it does matter for the
blockstore cleanup where we need to process the remote BSes before the locals.
parent 3d9550cd
#!/usr/bin/perl -w
#
# Copyright (c) 2004-2013 University of Utah and the Flux Group.
# Copyright (c) 2004-2016 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -233,5 +233,5 @@ sub doreconfig()
#
sub docleanup()
{
doaction("reset", @bootscripts);
doaction("reset", reverse(@bootscripts));
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment