mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 04:20:17 +03:00
Added monojob controller in lieu of a full working shell.
This commit is contained in:
@@ -34,6 +34,14 @@ void job_done ( struct job_interface *job, int rc ) {
|
||||
job_put ( dest );
|
||||
}
|
||||
|
||||
void job_kill ( struct job_interface *job ) {
|
||||
struct job_interface *dest = job_get_dest ( job );
|
||||
|
||||
dest->op->kill ( dest );
|
||||
job_unplug ( job );
|
||||
job_put ( dest );
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Helper methods
|
||||
|
||||
Reference in New Issue
Block a user