[cmdline] Add "sync" command

Add "sync" command (loosely based on the Unix "sync"), which will wait
for any pending operations to complete.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-06-09 19:00:04 +01:00
parent af47789ef2
commit addf699c86
3 changed files with 86 additions and 0 deletions

View File

@@ -241,6 +241,9 @@ REQUIRE_OBJECT ( reboot_cmd );
#ifdef CPUID_CMD
REQUIRE_OBJECT ( cpuid_cmd );
#endif
#ifdef SYNC_CMD
REQUIRE_OBJECT ( sync_cmd );
#endif
/*
* Drag in miscellaneous objects