Commit cef98ecb authored by Mike Hibler's avatar Mike Hibler

Add a state transition that is now valid in the !BOOTINFO_EVENTS world.

parent a0822540
......@@ -710,6 +710,7 @@ REPLACE INTO state_transitions VALUES ('RELOAD-UE','RELOADING','RELOADDONE','Rel
REPLACE INTO state_transitions VALUES ('RELOAD-UE','SHUTDOWN','RELOADING','Booting');
REPLACE INTO state_transitions VALUES ('NORMALv2','BOOTING','PXEWAIT','MoonshotPxeWait');
REPLACE INTO state_transitions VALUES ('PXEKERNEL','PXEWAKEUP','SHUTDOWN','MoonshotBootDisk');
REPLACE INTO state_transitions VALUES ('PXEKERNEL','PXEWAKEUP','BOOTING','PxeBootWakeup');
--
-- Dumping data for table `state_triggers`
......
#
# In !BOOTINFO_EVENTS, PXEWAKEUP will jump to BOOTING and not PXEBOOTING
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal("REPLACE INTO state_transitions VALUES ".
"('PXEKERNEL','PXEWAKEUP','BOOTING','PxeBootWakeup')");
return 0;
}
1;
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