mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 20:10:18 +03:00
[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:
@@ -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
|
||||
|
||||
@@ -117,6 +117,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
#define SANBOOT_CMD /* SAN boot commands */
|
||||
#define MENU_CMD /* Menu commands */
|
||||
#define LOGIN_CMD /* Login command */
|
||||
#define SYNC_CMD /* Sync command */
|
||||
//#define TIME_CMD /* Time commands */
|
||||
//#define DIGEST_CMD /* Image crypto digest commands */
|
||||
//#define LOTEST_CMD /* Loopback testing commands */
|
||||
|
||||
Reference in New Issue
Block a user